aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_project_model
diff options
context:
space:
mode:
authorYoshua Wuyts <[email protected]>2020-02-23 14:51:32 +0000
committerYoshua Wuyts <[email protected]>2020-02-23 14:51:32 +0000
commitb4970b0fe9c5f4cf43bebabcdbb38da4876d652f (patch)
treec03cc6d96843fc8fe4abfb62858fa6bbaa337a88 /crates/ra_project_model
parent838ad6bcfb2a82c030e18d019b8a06752f0fc828 (diff)
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.
Diffstat (limited to 'crates/ra_project_model')
-rw-r--r--crates/ra_project_model/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_project_model/src/lib.rs b/crates/ra_project_model/src/lib.rs
index e35f7fbbc..9df6a0e07 100644
--- a/crates/ra_project_model/src/lib.rs
+++ b/crates/ra_project_model/src/lib.rs
@@ -103,7 +103,7 @@ impl ProjectWorkspace {
103 let sysroot = if with_sysroot { 103 let sysroot = if with_sysroot {
104 Sysroot::discover(&cargo_toml).with_context(|| { 104 Sysroot::discover(&cargo_toml).with_context(|| {
105 format!( 105 format!(
106 "Failed to find sysroot for Cargo.toml file {}", 106 "Failed to find sysroot for Cargo.toml file {}. Is rust-src installed?",
107 cargo_toml.display() 107 cargo_toml.display()
108 ) 108 )
109 })? 109 })?