parent
928ecd069a
commit
4223760a7b
@ -53,9 +53,10 @@ impl Sysroot {
|
|||||||
if !src.exists() {
|
if !src.exists() {
|
||||||
Err(format!(
|
Err(format!(
|
||||||
"can't load standard library from sysroot\n\
|
"can't load standard library from sysroot\n\
|
||||||
{:?}\n\
|
{}\n\
|
||||||
|
(discovered via `rustc --print sysroot`)\n\
|
||||||
try running `rustup component add rust-src` or set `RUST_SRC_PATH`",
|
try running `rustup component add rust-src` or set `RUST_SRC_PATH`",
|
||||||
src,
|
src.display(),
|
||||||
))?;
|
))?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user