@@ -543,7 +543,7 @@ async fn plus_override_toolchain_err_handling() {
543
543
cx. config
544
544
. expect_with_env (
545
545
[ "rustc" , "+beta" , "--version" ] ,
546
- & [ ( "RUSTUP_AUTO_INSTALL" , "0" ) ] ,
546
+ [ ( "RUSTUP_AUTO_INSTALL" , "0" ) ] ,
547
547
)
548
548
. await
549
549
. with_stderr ( snapbox:: str![ [ r#"
@@ -1191,7 +1191,7 @@ async fn list_targets_no_toolchain() {
1191
1191
cx. config
1192
1192
. expect_with_env (
1193
1193
[ "rustup" , "target" , "list" , "--toolchain=nightly" ] ,
1194
- & [ ( "RUSTUP_AUTO_INSTALL" , "0" ) ] ,
1194
+ [ ( "RUSTUP_AUTO_INSTALL" , "0" ) ] ,
1195
1195
)
1196
1196
. await
1197
1197
. with_stderr ( snapbox:: str![ [ r#"
@@ -1221,7 +1221,7 @@ error: toolchain 'nightly-[HOST_TRIPLE]' is not installed
1221
1221
cx. config
1222
1222
. expect_with_env (
1223
1223
[ "rustup" , "target" , "list" , "--toolchain=nightly" ] ,
1224
- & [ ( "RUSTUP_AUTO_INSTALL" , "0" ) ] ,
1224
+ [ ( "RUSTUP_AUTO_INSTALL" , "0" ) ] ,
1225
1225
)
1226
1226
. await
1227
1227
. with_stderr ( snapbox:: str![ [ r#"
@@ -1234,7 +1234,7 @@ error: toolchain 'nightly-[HOST_TRIPLE]' is not installed
1234
1234
cx. config
1235
1235
. expect_with_env (
1236
1236
[ "rustup" , "target" , "list" , "--toolchain=nightly" ] ,
1237
- & [ ( "RUSTUP_AUTO_INSTALL" , "1" ) ] ,
1237
+ [ ( "RUSTUP_AUTO_INSTALL" , "1" ) ] ,
1238
1238
)
1239
1239
. await
1240
1240
. is_ok ( ) ;
@@ -1502,7 +1502,7 @@ async fn add_target_no_toolchain() {
1502
1502
CROSS_ARCH1 ,
1503
1503
"--toolchain=nightly" ,
1504
1504
] ,
1505
- & [ ( "RUSTUP_AUTO_INSTALL" , "0" ) ] ,
1505
+ [ ( "RUSTUP_AUTO_INSTALL" , "0" ) ] ,
1506
1506
)
1507
1507
. await
1508
1508
. with_stderr ( snapbox:: str![ [ r#"
@@ -1725,7 +1725,7 @@ async fn remove_target_no_toolchain() {
1725
1725
CROSS_ARCH1 ,
1726
1726
"--toolchain=nightly" ,
1727
1727
] ,
1728
- & [ ( "RUSTUP_AUTO_INSTALL" , "0" ) ] ,
1728
+ [ ( "RUSTUP_AUTO_INSTALL" , "0" ) ] ,
1729
1729
)
1730
1730
. await
1731
1731
. with_stderr ( snapbox:: str![ [ r#"
0 commit comments