From b4970b0fe9c5f4cf43bebabcdbb38da4876d652f Mon Sep 17 00:00:00 2001 From: Yoshua Wuyts Date: Sun, 23 Feb 2020 15:51:32 +0100 Subject: 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. --- crates/ra_project_model/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_project_model/src') 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 { 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() ) })? -- cgit v1.2.3