Skip to content

Commit 450cacc

Browse files
committed
Auto merge of #3743 - phansch:you_shall_not_pass, r=flip1995
Move run-pass tests to UI tests This should give us more UI coverage for free. It also removes the `run-pass` suite, so we now only have the `ui` suite.
2 parents 4259377 + a586f52 commit 450cacc

34 files changed

+60
-25
lines changed

tests/compile-test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ fn prepare_env() {
133133
#[test]
134134
fn compile_test() {
135135
prepare_env();
136-
run_mode("run-pass", "tests/run-pass".into());
137136
run_mode("ui", "tests/ui".into());
138137
run_ui_toml();
139138
}

tests/run-pass/ice-2727.rs

Lines changed: 0 additions & 5 deletions
This file was deleted.

tests/run-pass/ice-700.rs

Lines changed: 0 additions & 7 deletions
This file was deleted.

tests/run-pass/associated-constant-ice.rs renamed to tests/ui/crashes/associated-constant-ice.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/// Test for https://github.com/rust-lang/rust-clippy/issues/1698
2+
13
pub trait Trait {
24
const CONSTANT: u8;
35
}

tests/run-pass/cc_seme.rs renamed to tests/ui/crashes/cc_seme.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#[allow(dead_code)]
2+
3+
/// Test for https://github.com/rust-lang/rust-clippy/issues/478
4+
25
enum Baz {
36
One,
47
Two,

tests/run-pass/ice-1588.rs renamed to tests/ui/crashes/ice-1588.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#![allow(clippy::all)]
22

3+
/// Test for https://github.com/rust-lang/rust-clippy/issues/1588
4+
35
fn main() {
46
match 1 {
57
1 => {},
File renamed without changes.

tests/run-pass/ice-1969.rs renamed to tests/ui/crashes/ice-1969.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#![allow(clippy::all)]
22

3+
/// Test for https://github.com/rust-lang/rust-clippy/issues/1969
4+
35
fn main() {}
46

57
pub trait Convert {
File renamed without changes.

0 commit comments

Comments
 (0)