Skip to content

Commit fd0fcab

Browse files
committed
error: Fix braino in error message
Signed-off-by: Daniel Silverstone <[email protected]>
1 parent 5f2112e commit fd0fcab

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
@@ -487,7 +487,7 @@ fn component_unavailable_msg(cs: &[Component], manifest: &Manifest, toolchain: &
487487
fn install_msg(bin: &str, toolchain: &str, is_default: bool) -> String {
488488
if Toolchain::is_custom_name(toolchain) {
489489
return "\nnote: this is a custom toolchain, which cannot use `rustup component add`\n\
490-
help: if you built this toolchain from source, and used `rustup component link`, then you may be able to build the component with `x.py`".to_string();
490+
help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`".to_string();
491491
}
492492
match component_for_bin(bin) {
493493
Some(c) => format!("\nTo install, run `rustup component add {}{}`", c, {

0 commit comments

Comments
 (0)