diff options
Diffstat (limited to 'crates/project_model')
-rw-r--r-- | crates/project_model/src/sysroot.rs | 2 | ||||
-rw-r--r-- | crates/project_model/src/workspace.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/project_model/src/sysroot.rs b/crates/project_model/src/sysroot.rs index f0a43eaf6..95b622715 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<AbsPathBuf> { | |||
143 | can't load standard library from sysroot | 143 | can't load standard library from sysroot |
144 | {} | 144 | {} |
145 | (discovered via `rustc --print sysroot`) | 145 | (discovered via `rustc --print sysroot`) |
146 | try running `rustup component add rust-src` or set `RUST_SRC_PATH`", | 146 | try installing the Rust source the same way you installed rustc", |
147 | sysroot_path.display(), | 147 | sysroot_path.display(), |
148 | ) | 148 | ) |
149 | }) | 149 | }) |
diff --git a/crates/project_model/src/workspace.rs b/crates/project_model/src/workspace.rs index 7f4a7e56b..68a235ce3 100644 --- a/crates/project_model/src/workspace.rs +++ b/crates/project_model/src/workspace.rs | |||
@@ -475,7 +475,7 @@ fn add_target_crate_root( | |||
475 | Some(display_name), | 475 | Some(display_name), |
476 | cfg_options, | 476 | cfg_options, |
477 | env, | 477 | env, |
478 | proc_macro.clone(), | 478 | proc_macro, |
479 | ); | 479 | ); |
480 | 480 | ||
481 | crate_id | 481 | crate_id |