summaryrefslogtreecommitdiffstats
path: root/tests/ui-fulldeps/feature-gate-plugin.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui-fulldeps/feature-gate-plugin.rs')
-rw-r--r--tests/ui-fulldeps/feature-gate-plugin.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui-fulldeps/feature-gate-plugin.rs b/tests/ui-fulldeps/feature-gate-plugin.rs
new file mode 100644
index 000000000..85eaf5336
--- /dev/null
+++ b/tests/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() {}