fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
710 B22 linesraw
1error[E0659]: `foo` is ambiguous (glob import vs glob import in the same module)
2  --> $DIR/E0659.rs:15:15
3   |
4LL |     collider::foo();
5   |               ^^^ ambiguous name
6   |
7note: `foo` could refer to the function imported here
8  --> $DIR/E0659.rs:10:13
9   |
10LL |     pub use moon::*;
11   |             ^^^^^^^
12   = help: consider adding an explicit import of `foo` to disambiguate
13note: `foo` could also refer to the function imported here
14  --> $DIR/E0659.rs:11:13
15   |
16LL |     pub use earth::*;
17   |             ^^^^^^^^
18   = help: consider adding an explicit import of `foo` to disambiguate
19
20error: aborting due to previous error
21
22For more information about this error, try `rustc --explain E0659`.