Remove recovery test
This commit is contained in:
parent
9a299e4e21
commit
b00f6745c4
2 changed files with 0 additions and 30 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
@ -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`.
|
||||
Loading…
Add table
Add a link
Reference in a new issue