You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollup merge of #45635 - virgil-palanciuc:master, r=kennytm
Add test for #44953
Added the requested test - trying to see if it passes; my local build fails, but not sure why - the nightly shows this output, but in my build the compilation error changed.
Fixes#44953.
error: 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? (see issue #27812)
2
+
--> $DIR/issue-44953.rs:16:14
3
+
|
4
+
16 | #[macro_use] extern crate log;
5
+
| ^^^^^^^^^^^^^^^^^
6
+
|
7
+
= help: add #![feature(rustc_private)] to the crate attributes to enable
8
+
9
+
error: 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? (see issue #27812)
10
+
--> $DIR/issue-44953.rs:19:5
11
+
|
12
+
19 | info!("This is a log message.");
13
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14
+
|
15
+
= help: add #![feature(rustc_private)] to the crate attributes to enable
16
+
= note: this error originates in a macro outside of the current crate (run with -Z external-macro-backtrace for more info)
0 commit comments