Skip to content

Commit 553faa1

Browse files
authored
Merge pull request #518 from brson/multirust-up
Fix the multirust upgrade instructions to point to the right path to …
2 parents 090f9c8 + 7542ce2 commit 553faa1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/rustup-cli/self_update.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,13 +328,13 @@ fn do_pre_install_sanity_checks() -> Result<()> {
328328
(false, true) => {
329329
warn!("it looks like you have existing multirust metadata");
330330
warn!("rustup cannot be installed alongside multirust");
331-
warn!("delete `{}` before installing rustup", multirust_version_path.expect("").display());
331+
warn!("delete `{}` before installing rustup", multirust_meta_path.expect("").display());
332332
return Err("cannot install while multirust is installed".into());
333333
}
334334
(true, true) => {
335335
warn!("it looks like you have an existing installation of multirust");
336336
warn!("rustup cannot be installed alongside multirust");
337-
warn!("run `{}` as root and delete `{}` before installing rustup", uninstaller_path.display(), multirust_version_path.expect("").display());
337+
warn!("run `{}` as root and delete `{}` before installing rustup", uninstaller_path.display(), multirust_meta_path.expect("").display());
338338
return Err("cannot install while multirust is installed".into());
339339
}
340340
(false, false) => ()

0 commit comments

Comments
 (0)