1 error[E0659]: `panic` is ambiguous
2 --> $DIR/shadow_builtin_macros.rs:43:5
4 LL | panic!(); //~ ERROR `panic` is ambiguous
7 note: `panic` could refer to the name defined here
8 --> $DIR/shadow_builtin_macros.rs:40:9
10 LL | macro_rules! panic { () => {} }
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14 | ----- in this macro invocation
15 = note: `panic` is also a builtin macro
16 = note: macro-expanded macros do not shadow
18 error[E0659]: `panic` is ambiguous
19 --> $DIR/shadow_builtin_macros.rs:25:14
21 LL | fn f() { panic!(); } //~ ERROR ambiguous
22 | ^^^^^ ambiguous name
24 note: `panic` could refer to the name imported here
25 --> $DIR/shadow_builtin_macros.rs:24:9
29 = note: `panic` is also a builtin macro
30 = note: consider adding an explicit import of `panic` to disambiguate
32 error[E0659]: `panic` is ambiguous
33 --> $DIR/shadow_builtin_macros.rs:30:14
35 LL | fn f() { panic!(); } //~ ERROR ambiguous
36 | ^^^^^ ambiguous name
38 note: `panic` could refer to the name imported here
39 --> $DIR/shadow_builtin_macros.rs:29:26
41 LL | ::two_macros::m!(use foo::panic;);
43 = note: `panic` is also a builtin macro
44 = note: macro-expanded macro imports do not shadow
46 error[E0659]: `n` is ambiguous
47 --> $DIR/shadow_builtin_macros.rs:59:5
49 LL | n!(); //~ ERROR ambiguous
52 note: `n` could refer to the name imported here
53 --> $DIR/shadow_builtin_macros.rs:58:9
57 note: `n` could also refer to the name imported here
58 --> $DIR/shadow_builtin_macros.rs:46:13
62 = note: consider adding an explicit import of `n` to disambiguate
64 error: aborting due to 4 previous errors
66 For more information about this error, try `rustc --explain E0659`.