1 error[E0659]: `Vec` is ambiguous
2 --> $DIR/extern-prelude-extern-crate-restricted-shadowing.rs:13:9
4 LL | Vec::panic!(); //~ ERROR `Vec` is ambiguous
7 note: `Vec` could refer to the name defined here
8 --> $DIR/extern-prelude-extern-crate-restricted-shadowing.rs:5:9
10 LL | extern crate std as Vec;
11 | ^^^^^^^^^^^^^^^^^^^^^^^^
14 | -------------- in this macro invocation
15 note: `Vec` could also refer to the name defined here
16 = note: macro-expanded items do not shadow when used in a macro invocation path
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0659`.