about summary refs log tree commit diff
path: root/src/test/ui/parser/recovery-attr-on-if.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/parser/recovery-attr-on-if.rs')
-rw-r--r--src/test/ui/parser/recovery-attr-on-if.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/parser/recovery-attr-on-if.rs b/src/test/ui/parser/recovery-attr-on-if.rs
deleted file mode 100644
index 0d1f5be7b49..00000000000
--- a/src/test/ui/parser/recovery-attr-on-if.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-fn main() {
-    #[attr] if true {};
-    //~^ ERROR cannot find attribute
-    //~| ERROR attributes are not yet allowed on `if` expressions
-    #[attr] if true {};
-    //~^ ERROR cannot find attribute
-    //~| ERROR attributes are not yet allowed on `if` expressions
-    let _recovery_witness: () = 0; //~ ERROR mismatched types
-}