Update crates/project_model/src/sysroot.rs
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
This commit is contained in:
@@ -91,7 +91,7 @@ impl Sysroot {
|
|||||||
|
|
||||||
if sysroot.by_name("core").is_none() {
|
if sysroot.by_name("core").is_none() {
|
||||||
let var_note = if env::var_os("RUST_SRC_PATH").is_some() {
|
let var_note = if env::var_os("RUST_SRC_PATH").is_some() {
|
||||||
" (`RUST_SRC_PATH` might be set incorrectly)"
|
" (`RUST_SRC_PATH` might be incorrect, try unsetting it)"
|
||||||
} else {
|
} else {
|
||||||
""
|
""
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user