fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
760 B19 linesraw
1error[E0659]: `std` is ambiguous
2  --> $DIR/macro-path-prelude-shadowing.rs:29:9
3   |
4LL |         std::panic!();
5   |         ^^^ ambiguous name
6   |
7   = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution
8   = note: `std` could refer to a built-in crate
9note: `std` could also refer to the module imported here
10  --> $DIR/macro-path-prelude-shadowing.rs:27:9
11   |
12LL |     use m2::*; // glob-import user-defined `std`
13   |         ^^^^^
14   = help: consider adding an explicit import of `std` to disambiguate
15   = help: or use `self::std` to refer to this module unambiguously
16
17error: aborting due to previous error
18
19For more information about this error, try `rustc --explain E0659`.