We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#[warn(clippy::needless_borrow)]
1 parent d63b6e5 commit 9b1ec77Copy full SHA for 9b1ec77
tests/suite/cli_rustup.rs
@@ -2178,7 +2178,7 @@ fn non_utf8_arg() {
2178
config.expect_ok(&["rustup", "default", "nightly"]);
2179
let out = config.run(
2180
"rustc",
2181
- &[
+ [
2182
OsStr::new("--echo-args"),
2183
OsStr::new("echoed non-utf8 arg:"),
2184
OsStr::from_bytes(b"\xc3\x28"),
@@ -2224,7 +2224,7 @@ fn non_utf8_toolchain() {
2224
2225
2226
2227
- &[OsStr::from_bytes(b"+\xc3\x28")],
+ [OsStr::from_bytes(b"+\xc3\x28")],
2228
&[("RUST_BACKTRACE", "1")],
2229
);
2230
assert!(out.stderr.contains("toolchain '�(' is not installable"));
0 commit comments