]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0659.stderr
Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup
[rust.git] / src / test / ui / error-codes / E0659.stderr
1 error[E0659]: `foo` is ambiguous
2   --> $DIR/E0659.rs:15:15
3    |
4 LL |     collider::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 function imported here
9   --> $DIR/E0659.rs:10:13
10    |
11 LL |     pub use moon::*;
12    |             ^^^^^^^
13    = help: consider adding an explicit import of `foo` to disambiguate
14 note: `foo` could also refer to the function imported here
15   --> $DIR/E0659.rs:11:13
16    |
17 LL |     pub use earth::*;
18    |             ^^^^^^^^
19    = help: consider adding an explicit import of `foo` to disambiguate
20
21 error: aborting due to previous error
22
23 For more information about this error, try `rustc --explain E0659`.