mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
Add suggestion for failed path resolution
This adds https://github.com/rust-analyzer/rust-analyzer/issues/3245 as an inline help text for when path resolution fails.
This commit is contained in:
parent
838ad6bcfb
commit
b4970b0fe9
@ -103,7 +103,7 @@ impl ProjectWorkspace {
|
||||
let sysroot = if with_sysroot {
|
||||
Sysroot::discover(&cargo_toml).with_context(|| {
|
||||
format!(
|
||||
"Failed to find sysroot for Cargo.toml file {}",
|
||||
"Failed to find sysroot for Cargo.toml file {}. Is rust-src installed?",
|
||||
cargo_toml.display()
|
||||
)
|
||||
})?
|
||||
|
Loading…
Reference in New Issue
Block a user