]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/macro-path-prelude-shadowing.stderr
rustbuild: fix remap-debuginfo when building a release
[rust.git] / src / test / ui / macros / macro-path-prelude-shadowing.stderr
1 error[E0659]: `std` is ambiguous
2   --> $DIR/macro-path-prelude-shadowing.rs:39:9
3    |
4 LL |         std::panic!(); //~ ERROR `std` is ambiguous
5    |         ^^^ ambiguous name
6    |
7 note: `std` could refer to the name imported here
8   --> $DIR/macro-path-prelude-shadowing.rs:37:9
9    |
10 LL |     use m2::*; // glob-import user-defined `std`
11    |         ^^^^^
12 note: `std` could also refer to the name defined here
13   --> $DIR/macro-path-prelude-shadowing.rs:39:9
14    |
15 LL |         std::panic!(); //~ ERROR `std` is ambiguous
16    |         ^^^
17    = note: consider adding an explicit import of `std` to disambiguate
18
19 error: aborting due to previous error
20
21 For more information about this error, try `rustc --explain E0659`.