fork/rust

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

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

master
799 B23 linesraw
1error[E0659]: `error` is ambiguous
2  --> $DIR/extern-with-ambiguous-1.rs:16:5
3   |
4LL | use error::*;
5   |     ^^^^^ ambiguous name
6   |
7   = note: ambiguous because of multiple glob imports of a name in the same module
8note: `error` could refer to the module imported here
9  --> $DIR/extern-with-ambiguous-1.rs:14:5
10   |
11LL | use s::*;
12   |     ^^^^
13   = help: consider adding an explicit import of `error` to disambiguate
14note: `error` could also refer to the module imported here
15  --> $DIR/extern-with-ambiguous-1.rs:15:5
16   |
17LL | use extern_with_ambiguous_1_extern::*;
18   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19   = help: consider adding an explicit import of `error` to disambiguate
20
21error: aborting due to previous error
22
23For more information about this error, try `rustc --explain E0659`.