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