From 5e5e8b98dc7290efb740612bbac9d897d1cdcd3c Mon Sep 17 00:00:00 2001 From: Maddiaa <47148561+Maddiaa0@users.noreply.github.com> Date: Fri, 2 Feb 2024 19:28:24 +0000 Subject: [PATCH] chore: surpress chained macro warning (#4396) --- noir/aztec_macros/src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/noir/aztec_macros/src/lib.rs b/noir/aztec_macros/src/lib.rs index 00666488455..b8cda78ff34 100644 --- a/noir/aztec_macros/src/lib.rs +++ b/noir/aztec_macros/src/lib.rs @@ -199,6 +199,11 @@ fn lambda(parameters: Vec<(Pattern, UnresolvedType)>, body: Expression) -> Expre } macro_rules! chained_path { + ( $base:expr ) => { + { + ident_path($base) + } + }; ( $base:expr $(, $tail:expr)* ) => { { let mut base_path = ident_path($base);