We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fc2f90e + 18b24f6 commit 4bed01cCopy full SHA for 4bed01c
crates/project-model/src/workspace.rs
@@ -167,7 +167,8 @@ impl ProjectWorkspace {
167
cmd.envs(&config.extra_env);
168
cmd.arg("--version").current_dir(current_dir);
169
cmd
170
- })?;
+ })
171
+ .with_context(|| format!("Failed to query rust toolchain version at {current_dir}, is your toolchain setup correctly?"))?;
172
anyhow::Ok(
173
cargo_version
174
.get(prefix.len()..)
0 commit comments