expandable 0.1.1

What if we could check declarative macros before using them?
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[allow(unused)]
#[expandable::item]
#[rustfmt::skip]
macro_rules! test {
    (p: path) => {
        fn foo() {}
        pub fn bar() {}
        pub(crate) fn baz() {}
        pub(super) fn qux() {}
        pub(self) fn quux() {}
        pub(in foo::bar::baz) fn quuux() {}
        pub(in ::foo::bar::baz) fn quuux() {}
    };
}

fn main() {}