Skip to content

Commit 8047098

Browse files
committed
Improved warning message for System-Rust-override
1 parent bb60b1e commit 8047098

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/self_update.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ fn check_existence_of_rustc_or_cargo_in_path(no_prompt: bool) -> Result<()> {
546546
if let Err(path) = rustc_or_cargo_exists_in_path() {
547547
warn!("it looks like you have an existing installation of Rust at:");
548548
warn!("{}", path);
549-
warn!("rustup should not be installed alongside Rust. Please uninstall your existing Rust first.");
549+
warn!("It is recommended that rustup be the primary Rust installation.");
550550
warn!("Otherwise you may have confusion unless you are careful with your PATH");
551551
warn!("If you are sure that you want both rustup and your already installed Rust");
552552
warn!("then please reply `y' or `yes' or set RUSTUP_INIT_SKIP_PATH_CHECK to yes");

0 commit comments

Comments
 (0)