Skip to content

Commit

Permalink
chore: surpress chained macro warning (AztecProtocol#4396)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddiaa0 authored Feb 2, 2024
1 parent 54fd794 commit 5e9c790
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions noir/aztec_macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5e9c790

Please sign in to comment.