Skip to content

Commit 11663b1

Browse files
committed
Use check-pass instead of run-pass
We don't actually care about running these programs, only checking the warnings they generate.
1 parent 6342b58 commit 11663b1

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/test/ui/lint/let_underscore/let_underscore_drop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// run-pass
1+
// check-pass
22
// compile-flags: -W let_underscore_drop
33

44
struct NontrivialDrop;

src/test/ui/lint/let_underscore/let_underscore_lock.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// check-fail
12
use std::sync::{Arc, Mutex};
23

34
fn main() {

src/test/ui/lint/let_underscore/let_underscore_must_use.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// run-pass
1+
// check-pass
22
// compile-flags: -W let_underscore_must_use
33

44
#[must_use]

0 commit comments

Comments
 (0)