]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/rfc-1560-warning-cycle.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.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    |                 ^^^ ambiguous name
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`.