Skip to content

Commit ba09130

Browse files
committed
Better error message when no toolchain is installed
1 parent 3ac5076 commit ba09130

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ error_chain! {
297297
}
298298
ToolchainNotSelected {
299299
description("toolchain is not selected")
300-
display("no override and no default toolchain set")
300+
display("no override and no default toolchain set; run 'rustup default stable' to set the stable toolchain as default")
301301
}
302302
OverrideToolchainNotInstalled(t: String) {
303303
description("override toolchain is not installed")

0 commit comments

Comments
 (0)