Skip to content

Commit 0407a7f

Browse files
committed
test(lints): Clarify why verbose is used
1 parent 4da2ca5 commit 0407a7f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/testsuite/lints.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ pub fn foo(num: i32) -> u32 {
396396
.build();
397397

398398
foo.cargo("check")
399+
.arg("-v") // Show order of rustflags on failure
399400
.masquerade_as_nightly_cargo(&["lints"])
400401
.run();
401402
}
@@ -428,7 +429,7 @@ pub fn foo(num: i32) -> u32 {
428429
.build();
429430

430431
foo.cargo("check")
431-
.arg("-v")
432+
.arg("-v") // Show order of rustflags on failure
432433
.env("RUSTFLAGS", "-Aunsafe_code")
433434
.masquerade_as_nightly_cargo(&["lints"])
434435
.run();
@@ -464,7 +465,7 @@ pub fn foo(num: i32) -> u32 {
464465
.build();
465466

466467
foo.cargo("check")
467-
.arg("-v")
468+
.arg("-v") // Show order of rustflags on failure
468469
.masquerade_as_nightly_cargo(&["lints", "profile-rustflags"])
469470
.run();
470471
}

0 commit comments

Comments
 (0)