]>
Commit | Line | Data |
---|---|---|
94b46f34 XL |
1 | error[E0659]: `Foo` is ambiguous |
2 | --> $DIR/rfc-1560-warning-cycle.rs:19:17 | |
ff7c6d11 | 3 | | |
94b46f34 | 4 | LL | fn f(_: Foo) {} //~ ERROR `Foo` is ambiguous |
ff7c6d11 XL |
5 | | ^^^ |
6 | | | |
94b46f34 XL |
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 | |
ff7c6d11 XL |
18 | |
19 | error: aborting due to previous error | |
20 | ||
94b46f34 | 21 | For more information about this error, try `rustc --explain E0659`. |