Skip to content

Commit 86bdd5e

Browse files
Fix confusing error when rustup-toolchain-install-master is not installed
1 parent 287bb90 commit 86bdd5e

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)