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