fork/rust

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

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

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