about summary refs log tree commit diff
path: root/src/test/ui/proc-macro/attribute-order-restricted.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/proc-macro/attribute-order-restricted.rs')
-rw-r--r--src/test/ui/proc-macro/attribute-order-restricted.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/proc-macro/attribute-order-restricted.rs b/src/test/ui/proc-macro/attribute-order-restricted.rs
deleted file mode 100644
index a3d4d23450c..00000000000
--- a/src/test/ui/proc-macro/attribute-order-restricted.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-// aux-build:test-macros.rs
-
-#[macro_use]
-extern crate test_macros;
-
-#[identity_attr] // OK
-#[derive(Clone)]
-struct Before;
-
-#[derive(Clone)]
-#[identity_attr] //~ ERROR macro attributes must be placed before `#[derive]`
-struct After;
-
-fn main() {}