From acaa4902b0e7e33205c5d287cd22b83732a1a401 Mon Sep 17 00:00:00 2001 From: dullbananas Date: Tue, 1 Aug 2023 14:11:27 -0700 Subject: [PATCH] Fix attribute filtering in WithoutId macro --- crates/db_schema/src/without_id.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/db_schema/src/without_id.rs b/crates/db_schema/src/without_id.rs index 676f249df..5d21319a3 100644 --- a/crates/db_schema/src/without_id.rs +++ b/crates/db_schema/src/without_id.rs @@ -53,7 +53,7 @@ macro_rules! WithoutId { // Keep on removing the first attribute until `diesel(table_name = ...)` becomes // the first, which will cause the first pattern to be matched. (#[$_meta:meta] $($remaining:tt)*) => { - $($remaining)* + WithoutId!($($remaining)*); }; // This pattern is matched when there's no attributes.