1 error: `macro_two` is already in scope
2 --> $DIR/macro-shadowing.rs:22:5
4 LL | #[macro_use] //~ ERROR `macro_two` is already in scope
8 | ------ in this macro invocation
10 = note: macro-expanded `#[macro_use]`s may not shadow existing macros (see RFC 1560)
12 error[E0659]: `foo` is ambiguous
13 --> $DIR/macro-shadowing.rs:27:1
15 LL | foo!(); //~ ERROR `foo` is ambiguous
18 note: `foo` could refer to the name defined here
19 --> $DIR/macro-shadowing.rs:20:5
21 LL | macro_rules! foo { () => {} }
22 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
25 | ------ in this macro invocation
26 note: `foo` could also refer to the name defined here
27 --> $DIR/macro-shadowing.rs:15:1
29 LL | macro_rules! foo { () => {} }
30 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
31 = note: macro-expanded macros do not shadow
33 error: aborting due to 2 previous errors
35 For more information about this error, try `rustc --explain E0659`.