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 eb34617 commit 666380fCopy full SHA for 666380f
tests/testsuite/profiles.rs
@@ -572,11 +572,11 @@ fn strip_passes_unknown_option_to_rustc() {
572
p.cargo("build --release -v")
573
.masquerade_as_nightly_cargo()
574
.with_status(101)
575
- .with_stderr(
+ .with_stderr_contains(
576
"\
577
[COMPILING] foo [..]
578
[RUNNING] `rustc [..] -Z strip=unknown [..]`
579
-[FINISHED] [..]
+error: incorrect value `unknown` for debugging option `strip` - either `none`, `debuginfo`, or `symbols` was expected
580
",
581
)
582
.run();
0 commit comments