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 768f9b8 + bfe162e commit 52a2e28Copy full SHA for 52a2e28
src/rustup-cli/self_update.rs
@@ -441,6 +441,9 @@ fn do_pre_install_sanity_checks() -> Result<()> {
441
warn!("it looks like you have existing rustup.sh metadata");
442
warn!("rustup cannot be installed while rustup.sh metadata exists");
443
warn!("delete `{}` to remove rustup.sh", rustup_sh_path.expect("").display());
444
+ warn!("or, if you already rustup installed, you can run");
445
+ warn!("`rustup self update` and `rustup toolchain list` to upgrade");
446
+ warn!("your directory structure");
447
return Err("cannot install while rustup.sh is installed".into());
448
}
449
0 commit comments