rust/src/test/ui/error-codes/E0659.stderr
Vadim Petrochenkov fa72a81bea Update tests
2019-03-11 23:10:26 +03:00

23 lines
710 B
Plaintext

error[E0659]: `foo` is ambiguous (glob import vs glob import in the same module)
--> $DIR/E0659.rs:15:15
|
LL | collider::foo();
| ^^^ ambiguous name
|
note: `foo` could refer to the function imported here
--> $DIR/E0659.rs:10:13
|
LL | pub use moon::*;
| ^^^^^^^
= help: consider adding an explicit import of `foo` to disambiguate
note: `foo` could also refer to the function imported here
--> $DIR/E0659.rs:11:13
|
LL | pub use earth::*;
| ^^^^^^^^
= help: consider adding an explicit import of `foo` to disambiguate
error: aborting due to previous error
For more information about this error, try `rustc --explain E0659`.