@@ -491,7 +491,6 @@ fn canonical_cargo_home(process: &Process) -> Result<Cow<'static, str>> {
491
491
pub ( crate ) async fn install (
492
492
current_dir : PathBuf ,
493
493
no_prompt : bool ,
494
- verbose : bool ,
495
494
quiet : bool ,
496
495
mut opts : InstallOpts < ' _ > ,
497
496
process : & Process ,
@@ -549,7 +548,7 @@ pub(crate) async fn install(
549
548
}
550
549
551
550
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 {
553
552
report_error ( & e, process) ;
554
553
555
554
// On windows, where installation happens in a console
@@ -804,7 +803,6 @@ pub(crate) fn install_proxies(process: &Process) -> Result<()> {
804
803
805
804
async fn maybe_install_rust (
806
805
current_dir : PathBuf ,
807
- verbose : bool ,
808
806
quiet : bool ,
809
807
opts : InstallOpts < ' _ > ,
810
808
process : & Process ,
@@ -828,7 +826,7 @@ async fn maybe_install_rust(
828
826
fs:: create_dir_all ( home) . context ( "unable to create ~/.rustup" ) ?;
829
827
}
830
828
831
- let mut cfg = common:: set_globals ( current_dir, verbose , quiet, process) ?;
829
+ let mut cfg = common:: set_globals ( current_dir, quiet, process) ?;
832
830
833
831
let ( components, targets) = ( opts. components , opts. targets ) ;
834
832
let toolchain = opts. install ( & mut cfg) ?;
@@ -1230,8 +1228,7 @@ mod tests {
1230
1228
home. apply ( & mut vars) ;
1231
1229
let tp = TestProcess :: with_vars ( vars) ;
1232
1230
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 ( ) ;
1235
1232
1236
1233
let opts = InstallOpts {
1237
1234
default_host_triple : None ,
0 commit comments