fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0659]: `std` is ambiguous 2 --> $DIR/ambiguity-macros.rs:7:5 3 | 4LL | use std::io; 5 | ^^^ ambiguous name 6 | 7 = note: ambiguous because of a conflict between a macro-expanded name and a less macro-expanded name from outer scope during import or macro resolution 8 = note: `std` could refer to a built-in crate 9 = help: use `::std` to refer to this crate unambiguously 10note: `std` could also refer to the module defined here 11 --> $DIR/ambiguity-macros.rs:12:9 12 | 13LL | / mod std { 14LL | | pub struct io; 15LL | | } 16 | |_________^ 17... 18LL | m!(); 19 | ---- in this macro invocation 20 = help: use `crate::std` to refer to this module unambiguously 21 = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info) 22 23error: aborting due to previous error 24 25For more information about this error, try `rustc --explain E0659`.