1 error[E0659]: `bar` is ambiguous
2 --> $DIR/out-of-order-shadowing.rs:5:1
7 = note: ambiguous because of a conflict between a macro-expanded name and a less macro-expanded name from outer scope during import or macro resolution
8 note: `bar` could refer to the macro defined here
9 --> $DIR/out-of-order-shadowing.rs:4:1
11 LL | define_macro!(bar);
13 note: `bar` could also refer to the macro defined here
14 --> $DIR/out-of-order-shadowing.rs:3:1
16 LL | macro_rules! bar { () => {} }
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18 = note: this error originates in the macro `define_macro` (in Nightly builds, run with -Z macro-backtrace for more info)
20 error: aborting due to previous error
22 For more information about this error, try `rustc --explain E0659`.