summaryrefslogtreecommitdiffstats
path: root/src/test/ui-fulldeps/feature-gate-plugin.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui-fulldeps/feature-gate-plugin.rs')
-rw-r--r--src/test/ui-fulldeps/feature-gate-plugin.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui-fulldeps/feature-gate-plugin.rs b/src/test/ui-fulldeps/feature-gate-plugin.rs
new file mode 100644
index 000000000..85eaf5336
--- /dev/null
+++ b/src/test/ui-fulldeps/feature-gate-plugin.rs
@@ -0,0 +1,8 @@
+// aux-build:empty-plugin.rs
+// ignore-stage1
+
+#![plugin(empty_plugin)]
+//~^ ERROR compiler plugins are deprecated
+//~| WARN use of deprecated attribute `plugin`: compiler plugins are deprecated
+
+fn main() {}