Skip to content

Commit b5ca7de

Browse files
Merge pull request #1038 from erikdesjardins/patch-1
Fix confusing error when rustup-toolchain-install-master is not installed
2 parents 287bb90 + 86bdd5e commit b5ca7de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ fn get_local_toolchain(
411411
if !Command::new("rustup-toolchain-install-master")
412412
.arg(&toolchain)
413413
.status()
414-
.context("failed to run `rustup which rustc`")?
414+
.context("failed to run `rustup-toolchain-install-master`")?
415415
.success()
416416
{
417417
anyhow::bail!(

0 commit comments

Comments
 (0)