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.
1 parent d0feade commit ef17d19Copy full SHA for ef17d19
src/runtest.rs
@@ -1462,6 +1462,13 @@ actual:\n\
1462
}
1463
1464
1465
+ match allow_unused {
1466
+ AllowUnused::Yes => {
1467
+ rustc.args(&["-A", "unused"]);
1468
+ }
1469
+ AllowUnused::No => {}
1470
1471
+
1472
if self.props.force_host {
1473
rustc.args(self.split_maybe_args(&self.config.host_rustcflags));
1474
} else {
@@ -1471,13 +1478,6 @@ actual:\n\
1478
rustc.arg(format!("-Clinker={}", linker));
1479
1480
- match allow_unused {
1475
- AllowUnused::Yes => {
1476
- rustc.args(&["-A", "unused"]);
1477
- }
- AllowUnused::No => {}
-
1481
rustc.args(&self.props.compile_flags);
1482
1483
rustc
0 commit comments