about summary refs log tree commit diff
path: root/src/test/ui/proc-macro/exports.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/proc-macro/exports.rs')
-rw-r--r--src/test/ui/proc-macro/exports.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/proc-macro/exports.rs b/src/test/ui/proc-macro/exports.rs
deleted file mode 100644
index a40c15908bc..00000000000
--- a/src/test/ui/proc-macro/exports.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-// force-host
-// no-prefer-dynamic
-
-#![crate_type = "proc-macro"]
-#![allow(warnings)]
-
-pub fn a() {} //~ ERROR: cannot export any items
-pub struct B; //~ ERROR: cannot export any items
-pub enum C {} //~ ERROR: cannot export any items
-pub mod d {} //~ ERROR: cannot export any items
-
-mod e {}
-struct F;
-enum G {}
-fn h() {}