]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/imports/extern-prelude-extern-crate-restricted-shadowing.stderr
New upstream version 1.43.0+dfsg1
[rustc.git] / src / test / ui / imports / extern-prelude-extern-crate-restricted-shadowing.stderr
index 245013a4ea43eb6ebe66447091b059f105bbc218..e344d0591473d1ff346b0591da12f6424fe1dd19 100644 (file)
@@ -6,6 +6,8 @@ LL |         extern crate std as core;
 ...
 LL | define_other_core!();
    | --------------------- in this macro invocation
+   |
+   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
 
 error[E0659]: `Vec` is ambiguous (macro-expanded name vs less macro-expanded name from outer scope during import/macro resolution)
   --> $DIR/extern-prelude-extern-crate-restricted-shadowing.rs:17:9
@@ -26,6 +28,7 @@ note: `Vec` could also refer to the struct defined here
    |
 LL | pub use crate::vec::Vec;
    |         ^^^^^^^^^^^^^^^
+   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
 
 error: aborting due to 2 previous errors