about summary refs log tree commit diff
path: root/src/test/ui/custom_attribute.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/custom_attribute.rs')
-rw-r--r--src/test/ui/custom_attribute.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/custom_attribute.rs b/src/test/ui/custom_attribute.rs
deleted file mode 100644
index 4957184229d..00000000000
--- a/src/test/ui/custom_attribute.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-#![feature(stmt_expr_attributes)]
-
-#[foo] //~ ERROR cannot find attribute `foo` in this scope
-fn main() {
-    #[foo] //~ ERROR cannot find attribute `foo` in this scope
-    let x = ();
-    #[foo] //~ ERROR cannot find attribute `foo` in this scope
-    x
-}