summaryrefslogtreecommitdiffstats
path: root/src/test/ui/proc-macro/expand-to-unstable.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/proc-macro/expand-to-unstable.rs')
-rw-r--r--src/test/ui/proc-macro/expand-to-unstable.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/proc-macro/expand-to-unstable.rs b/src/test/ui/proc-macro/expand-to-unstable.rs
deleted file mode 100644
index 0825c1a8e..000000000
--- a/src/test/ui/proc-macro/expand-to-unstable.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-// aux-build:derive-unstable.rs
-
-#![allow(warnings)]
-
-#[macro_use]
-extern crate derive_unstable;
-
-#[derive(Unstable)]
-//~^ ERROR: use of unstable library feature
-struct A;
-
-fn main() {
- unsafe { foo(); }
-}