Skip to content

Commit 6b59675

Browse files
committed
Remove run-pass annotations from crash tests
It does not seem to be necessary
1 parent e636b88 commit 6b59675

34 files changed

+0
-66
lines changed

tests/ui/crashes/associated-constant-ice.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// run-pass
2-
31
/// Test for https://github.com/rust-lang/rust-clippy/issues/1698
42
53
pub trait Trait {

tests/ui/crashes/cc_seme.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// run-pass
2-
31
#[allow(dead_code)]
42

53
/// Test for https://github.com/rust-lang/rust-clippy/issues/478

tests/ui/crashes/enum-glob-import-crate.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// run-pass
2-
31
#![deny(clippy::all)]
42
#![allow(unused_imports)]
53

tests/ui/crashes/ice-1588.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// run-pass
2-
31
#![allow(clippy::all)]
42

53
/// Test for https://github.com/rust-lang/rust-clippy/issues/1588

tests/ui/crashes/ice-1782.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// run-pass
2-
31
#![allow(dead_code, unused_variables)]
42

53
/// Should not trigger an ICE in `SpanlessEq` / `consts::constant`

tests/ui/crashes/ice-1969.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// run-pass
2-
31
#![allow(clippy::all)]
42

53
/// Test for https://github.com/rust-lang/rust-clippy/issues/1969

tests/ui/crashes/ice-2499.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// run-pass
2-
31
#![allow(dead_code, clippy::char_lit_as_u8, clippy::needless_bool)]
42

53
/// Should not trigger an ICE in `SpanlessHash` / `consts::constant`

tests/ui/crashes/ice-2594.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// run-pass
2-
31
#![allow(dead_code, unused_variables)]
42

53
/// Should not trigger an ICE in `SpanlessHash` / `consts::constant`

tests/ui/crashes/ice-2727.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// run-pass
2-
31
/// Test for https://github.com/rust-lang/rust-clippy/issues/2727
42
53
pub fn f(new: fn()) {

tests/ui/crashes/ice-2760.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// run-pass
2-
31
#![allow(
42
unused_variables,
53
clippy::blacklisted_name,

0 commit comments

Comments
 (0)