Rollup merge of #88387 - ehuss:remove-rustfix-tests, r=Mark-Simulacrum
Remove vestigial rustfix tests.
The directory `src/test/rustfix` is not actually tested. It looks like a mistake was made when rustfix tests were originally introduced in #50084. In commit 6f2d023028
they were moved to `src/test/ui`, but the tests in the original directory weren't deleted.
This commit is contained in:
commit
1a6e8d769a
20 changed files with 0 additions and 87 deletions
|
@ -1,10 +0,0 @@
|
|||
// Point at the captured immutable outer variable
|
||||
|
||||
fn foo(mut f: Box<FnMut()>) {
|
||||
f();
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let mut y = true;
|
||||
foo(Box::new(move || y = false) as Box<_>);
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
// Point at the captured immutable outer variable
|
||||
|
||||
fn foo(mut f: Box<FnMut()>) {
|
||||
f();
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let y = true;
|
||||
foo(Box::new(move || y = false) as Box<_>);
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
// compile-flags:--crate-type lib
|
|
@ -1 +0,0 @@
|
|||
// compile-flags:--crate-type lib
|
|
@ -1,2 +0,0 @@
|
|||
// compile-flags:--crate-type lib
|
||||
fn foo() {}
|
|
@ -1,3 +0,0 @@
|
|||
#[no_mangle] pub static RAH: usize = 5;
|
||||
|
||||
fn main() {}
|
|
@ -1,3 +0,0 @@
|
|||
#[no_mangle] pub const RAH: usize = 5;
|
||||
|
||||
fn main() {}
|
|
@ -1,2 +0,0 @@
|
|||
extern crate std as other_std;
|
||||
fn main() {}
|
|
@ -1,2 +0,0 @@
|
|||
extern crate std;
|
||||
fn main() {}
|
|
@ -1,12 +0,0 @@
|
|||
#![allow(unused)]
|
||||
|
||||
fn light_flows_our_war_of_mocking_words(and_yet: &usize) -> usize {
|
||||
and_yet + 1
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let behold: isize = 2;
|
||||
let with_tears: usize = 3;
|
||||
light_flows_our_war_of_mocking_words(&(behold as usize));
|
||||
light_flows_our_war_of_mocking_words(&(with_tears + 4));
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
#![allow(unused)]
|
||||
|
||||
fn light_flows_our_war_of_mocking_words(and_yet: &usize) -> usize {
|
||||
and_yet + 1
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let behold: isize = 2;
|
||||
let with_tears: usize = 3;
|
||||
light_flows_our_war_of_mocking_words(behold as usize);
|
||||
light_flows_our_war_of_mocking_words(with_tears + 4);
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
fn main() {}
|
|
@ -1 +0,0 @@
|
|||
fn main() {}
|
|
@ -1 +0,0 @@
|
|||
fn main() {}
|
|
@ -1,7 +0,0 @@
|
|||
fn main() {
|
||||
match &Some(3) {
|
||||
&None => 1,
|
||||
&Some(2) => { 3 }
|
||||
_ => 2
|
||||
};
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
fn main() {
|
||||
match &Some(3) {
|
||||
&None => 1
|
||||
&Some(2) => { 3 }
|
||||
_ => 2
|
||||
};
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
fn main() {
|
||||
println!("●●");
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
fn main() {
|
||||
println!('●●');
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
fn main () {
|
||||
((1, (2, 3)).1).1;
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
fn main () {
|
||||
(1, (2, 3)).1.1;
|
||||
}
|
Loading…
Add table
Reference in a new issue