diff options
Diffstat (limited to 'tests/ui-fulldeps/pathless-extern-unstable.stderr')
-rw-r--r-- | tests/ui-fulldeps/pathless-extern-unstable.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui-fulldeps/pathless-extern-unstable.stderr b/tests/ui-fulldeps/pathless-extern-unstable.stderr new file mode 100644 index 000000000..dcc3cddd3 --- /dev/null +++ b/tests/ui-fulldeps/pathless-extern-unstable.stderr @@ -0,0 +1,12 @@ +error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? + --> $DIR/pathless-extern-unstable.rs:7:9 + | +LL | pub use rustc_middle; + | ^^^^^^^^^^^^ + | + = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information + = help: add `#![feature(rustc_private)]` to the crate attributes to enable + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0658`. |