Remove vestigial rustfix tests.

This commit is contained in:
Eric Huss 2021-08-27 04:52:51 -07:00
parent dfd6306d26
commit e6637284cc
20 changed files with 0 additions and 87 deletions

View file

@ -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<_>);
}

View file

@ -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<_>);
}

View file

@ -1 +0,0 @@
// compile-flags:--crate-type lib

View file

@ -1 +0,0 @@
// compile-flags:--crate-type lib

View file

@ -1,2 +0,0 @@
// compile-flags:--crate-type lib
fn foo() {}

View file

@ -1,3 +0,0 @@
#[no_mangle] pub static RAH: usize = 5;
fn main() {}

View file

@ -1,3 +0,0 @@
#[no_mangle] pub const RAH: usize = 5;
fn main() {}

View file

@ -1,2 +0,0 @@
extern crate std as other_std;
fn main() {}

View file

@ -1,2 +0,0 @@
extern crate std;
fn main() {}

View file

@ -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));
}

View file

@ -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);
}

View file

@ -1 +0,0 @@
fn main() {}

View file

@ -1 +0,0 @@
fn main() {}

View file

@ -1 +0,0 @@
fn main() {}

View file

@ -1,7 +0,0 @@
fn main() {
match &Some(3) {
&None => 1,
&Some(2) => { 3 }
_ => 2
};
}

View file

@ -1,7 +0,0 @@
fn main() {
match &Some(3) {
&None => 1
&Some(2) => { 3 }
_ => 2
};
}

View file

@ -1,3 +0,0 @@
fn main() {
println!("●●");
}

View file

@ -1,3 +0,0 @@
fn main() {
println!('');
}

View file

@ -1,3 +0,0 @@
fn main () {
((1, (2, 3)).1).1;
}

View file

@ -1,3 +0,0 @@
fn main () {
(1, (2, 3)).1.1;
}