fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0659]: `f` is ambiguous (glob import vs glob import in the same module) 2 --> $DIR/ambiguity-item.rs:14:13 3 | 4LL | let v = f; 5 | ^ ambiguous name 6 | 7note: `f` could refer to the function imported here 8 --> $DIR/ambiguity-item.rs:6:5 9 | 10LL | use m::*; 11 | ^^^^ 12 = help: consider adding an explicit import of `f` to disambiguate 13note: `f` could also refer to the function imported here 14 --> $DIR/ambiguity-item.rs:11:5 15 | 16LL | use n::*; // OK, no conflict with `use m::*;` 17 | ^^^^ 18 = help: consider adding an explicit import of `f` to disambiguate 19 20error[E0659]: `f` is ambiguous (glob import vs glob import in the same module) 21 --> $DIR/ambiguity-item.rs:16:9 22 | 23LL | f => {} 24 | ^ ambiguous name 25 | 26note: `f` could refer to the function imported here 27 --> $DIR/ambiguity-item.rs:6:5 28 | 29LL | use m::*; 30 | ^^^^ 31 = help: consider adding an explicit import of `f` to disambiguate 32note: `f` could also refer to the function imported here 33 --> $DIR/ambiguity-item.rs:11:5 34 | 35LL | use n::*; // OK, no conflict with `use m::*;` 36 | ^^^^ 37 = help: consider adding an explicit import of `f` to disambiguate 38 39error: aborting due to 2 previous errors 40 41For more information about this error, try `rustc --explain E0659`.