File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ) => ( )
You can’t perform that action at this time.
0 commit comments