expandable 0.1.1

What if we could check declarative macros before using them?
Documentation
1
2
3
4
5
6
7
8
9
#[expandable::expr]
#[allow(unused_macros)]
macro_rules! bad_nesting_example {
    ( $( $( $( $a:ident, )*, )+, )? ) => {
        $( $a )*
    };
}

fn main() {}