@@ -491,7 +491,6 @@ fn canonical_cargo_home(process: &Process) -> Result<Cow<'static, str>> {
491491pub ( crate ) async fn install (
492492 current_dir : PathBuf ,
493493 no_prompt : bool ,
494- verbose : bool ,
495494 quiet : bool ,
496495 mut opts : InstallOpts < ' _ > ,
497496 process : & Process ,
@@ -549,7 +548,7 @@ pub(crate) async fn install(
549548 }
550549
551550 let no_modify_path = opts. no_modify_path ;
552- if let Err ( e) = maybe_install_rust ( current_dir, verbose , quiet, opts, process) . await {
551+ if let Err ( e) = maybe_install_rust ( current_dir, quiet, opts, process) . await {
553552 report_error ( & e, process) ;
554553
555554 // On windows, where installation happens in a console
@@ -804,7 +803,6 @@ pub(crate) fn install_proxies(process: &Process) -> Result<()> {
804803
805804async fn maybe_install_rust (
806805 current_dir : PathBuf ,
807- verbose : bool ,
808806 quiet : bool ,
809807 opts : InstallOpts < ' _ > ,
810808 process : & Process ,
@@ -828,7 +826,7 @@ async fn maybe_install_rust(
828826 fs:: create_dir_all ( home) . context ( "unable to create ~/.rustup" ) ?;
829827 }
830828
831- let mut cfg = common:: set_globals ( current_dir, verbose , quiet, process) ?;
829+ let mut cfg = common:: set_globals ( current_dir, quiet, process) ?;
832830
833831 let ( components, targets) = ( opts. components , opts. targets ) ;
834832 let toolchain = opts. install ( & mut cfg) ?;
@@ -1230,8 +1228,7 @@ mod tests {
12301228 home. apply ( & mut vars) ;
12311229 let tp = TestProcess :: with_vars ( vars) ;
12321230 let mut cfg =
1233- common:: set_globals ( tp. process . current_dir ( ) . unwrap ( ) , false , false , & tp. process )
1234- . unwrap ( ) ;
1231+ common:: set_globals ( tp. process . current_dir ( ) . unwrap ( ) , false , & tp. process ) . unwrap ( ) ;
12351232
12361233 let opts = InstallOpts {
12371234 default_host_triple : None ,
0 commit comments