mirror of
https://github.com/rust-lang/cargo
synced 2024-10-13 19:22:33 +00:00
test(lints): Clarify why verbose is used
This commit is contained in:
parent
94e1801177
commit
12bc06aaf2
|
@ -396,6 +396,7 @@ pub fn foo(num: i32) -> u32 {
|
|||
.build();
|
||||
|
||||
foo.cargo("check")
|
||||
.arg("-v") // Show order of rustflags on failure
|
||||
.masquerade_as_nightly_cargo(&["lints"])
|
||||
.run();
|
||||
}
|
||||
|
@ -428,7 +429,7 @@ pub fn foo(num: i32) -> u32 {
|
|||
.build();
|
||||
|
||||
foo.cargo("check")
|
||||
.arg("-v")
|
||||
.arg("-v") // Show order of rustflags on failure
|
||||
.env("RUSTFLAGS", "-Aunsafe_code")
|
||||
.masquerade_as_nightly_cargo(&["lints"])
|
||||
.run();
|
||||
|
@ -464,7 +465,7 @@ pub fn foo(num: i32) -> u32 {
|
|||
.build();
|
||||
|
||||
foo.cargo("check")
|
||||
.arg("-v")
|
||||
.arg("-v") // Show order of rustflags on failure
|
||||
.masquerade_as_nightly_cargo(&["lints", "profile-rustflags"])
|
||||
.run();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue