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