|
1 | | -error[E0659]: `inline` is ambiguous |
2 | | - --> $DIR/macro-path-prelude-shadowing.rs:24:9 |
3 | | - | |
4 | | -LL | inline!(); //~ ERROR `inline` is ambiguous |
5 | | - | ^^^^^^ |
6 | | - | |
7 | | -note: `inline` could refer to the name imported here |
8 | | - --> $DIR/macro-path-prelude-shadowing.rs:16:5 |
9 | | - | |
10 | | -LL | #[macro_use] |
11 | | - | ^^^^^^^^^^^^ |
12 | | -... |
13 | | -LL | add_macro_expanded_things_to_macro_prelude!(); |
14 | | - | ---------------------------------------------- in this macro invocation |
15 | | -note: `inline` could also refer to the name defined here |
16 | | - --> $DIR/macro-path-prelude-shadowing.rs:24:9 |
17 | | - | |
18 | | -LL | inline!(); //~ ERROR `inline` is ambiguous |
19 | | - | ^^^^^^ |
20 | | - = note: macro-expanded macro imports do not shadow |
21 | | - |
22 | 1 | error[E0659]: `std` is ambiguous |
23 | | - --> $DIR/macro-path-prelude-shadowing.rs:37:9 |
| 2 | + --> $DIR/macro-path-prelude-shadowing.rs:39:9 |
24 | 3 | | |
25 | 4 | LL | std::panic!(); //~ ERROR `std` is ambiguous |
26 | 5 | | ^^^^^^^^^^ |
27 | 6 | | |
28 | 7 | note: `std` could refer to the name imported here |
29 | | - --> $DIR/macro-path-prelude-shadowing.rs:35:9 |
| 8 | + --> $DIR/macro-path-prelude-shadowing.rs:37:9 |
30 | 9 | | |
31 | 10 | LL | use m2::*; // glob-import user-defined `std` |
32 | 11 | | ^^^^^ |
33 | 12 | note: `std` could also refer to the name defined here |
34 | | - --> $DIR/macro-path-prelude-shadowing.rs:37:9 |
| 13 | + --> $DIR/macro-path-prelude-shadowing.rs:39:9 |
35 | 14 | | |
36 | 15 | LL | std::panic!(); //~ ERROR `std` is ambiguous |
37 | 16 | | ^^^ |
38 | 17 | = note: consider adding an explicit import of `std` to disambiguate |
39 | 18 |
|
40 | | -error: aborting due to 2 previous errors |
| 19 | +error: aborting due to previous error |
41 | 20 |
|
42 | 21 | For more information about this error, try `rustc --explain E0659`. |
0 commit comments