1 error: `macro_two` is already in scope
2 --> $DIR/macro-shadowing.rs:12:5
8 | ----- in this macro invocation
10 = note: macro-expanded `#[macro_use]`s may not shadow existing macros (see RFC 1560)
11 = note: this error originates in the macro `m1` (in Nightly builds, run with -Z macro-backtrace for more info)
13 error[E0659]: `foo` is ambiguous (macro-expanded name vs less macro-expanded name from outer scope during import/macro resolution)
14 --> $DIR/macro-shadowing.rs:17:1
19 note: `foo` could refer to the macro defined here
20 --> $DIR/macro-shadowing.rs:10:5
22 LL | macro_rules! foo { () => {} }
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26 | ----- in this macro invocation
27 note: `foo` could also refer to the macro defined here
28 --> $DIR/macro-shadowing.rs:5:1
30 LL | macro_rules! foo { () => {} }
31 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32 = note: this error originates in the macro `m1` (in Nightly builds, run with -Z macro-backtrace for more info)
34 error: aborting due to 2 previous errors
36 For more information about this error, try `rustc --explain E0659`.