Remove recovery test

This commit is contained in:
Aaron Hill 2020-02-19 10:48:13 -05:00
parent 9a299e4e21
commit b00f6745c4
No known key found for this signature in database
GPG key ID: B4087E510E98B164
2 changed files with 0 additions and 30 deletions

View file

@ -1,7 +0,0 @@
fn main() {
#[attr] if true {};
//~^ ERROR cannot find attribute
#[attr] if true {};
//~^ ERROR cannot find attribute
let _recovery_witness: () = 0; //~ ERROR mismatched types
}

View file

@ -1,23 +0,0 @@
error: cannot find attribute `attr` in this scope
--> $DIR/recovery-attr-on-if.rs:4:7
|
LL | #[attr] if true {};
| ^^^^
error: cannot find attribute `attr` in this scope
--> $DIR/recovery-attr-on-if.rs:2:7
|
LL | #[attr] if true {};
| ^^^^
error[E0308]: mismatched types
--> $DIR/recovery-attr-on-if.rs:6:33
|
LL | let _recovery_witness: () = 0;
| -- ^ expected `()`, found integer
| |
| expected due to this
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0308`.