diff --git a/crates/project_model/src/sysroot.rs b/crates/project_model/src/sysroot.rs index f0a43eaf6b8..95b622715fd 100644 --- a/crates/project_model/src/sysroot.rs +++ b/crates/project_model/src/sysroot.rs @@ -143,7 +143,7 @@ fn discover_sysroot_src_dir(current_dir: &AbsPath) -> Result { can't load standard library from sysroot {} (discovered via `rustc --print sysroot`) -try running `rustup component add rust-src` or set `RUST_SRC_PATH`", +try installing the Rust source the same way you installed rustc", sysroot_path.display(), ) })