fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error: macro-expanded `extern crate` items cannot shadow names passed with `--extern` 2 --> $DIR/extern-prelude-extern-crate-restricted-shadowing.rs:19:9 3 | 4LL | extern crate std as core; 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^ 6... 7LL | define_other_core!(); 8 | --------------------- in this macro invocation 9 10error[E0659]: `Vec` is ambiguous (macro-expanded name vs less macro-expanded name from outer scope during import/macro resolution) 11 --> $DIR/extern-prelude-extern-crate-restricted-shadowing.rs:13:9 12 | 13LL | Vec::panic!(); 14 | ^^^ ambiguous name 15 | 16 = note: `Vec` could refer to a struct from prelude 17note: `Vec` could also refer to the crate imported here 18 --> $DIR/extern-prelude-extern-crate-restricted-shadowing.rs:5:9 19 | 20LL | extern crate std as Vec; 21 | ^^^^^^^^^^^^^^^^^^^^^^^^ 22... 23LL | define_vec!(); 24 | -------------- in this macro invocation 25 26error: aborting due to 2 previous errors 27 28For more information about this error, try `rustc --explain E0659`.