summaryrefslogtreecommitdiffstats
path: root/src/test/ui/tool-attributes/diagnostic_item.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/tool-attributes/diagnostic_item.stderr')
-rw-r--r--src/test/ui/tool-attributes/diagnostic_item.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/tool-attributes/diagnostic_item.stderr b/src/test/ui/tool-attributes/diagnostic_item.stderr
new file mode 100644
index 000000000..743e4b658
--- /dev/null
+++ b/src/test/ui/tool-attributes/diagnostic_item.stderr
@@ -0,0 +1,11 @@
+error[E0658]: diagnostic items compiler internal support for linting
+ --> $DIR/diagnostic_item.rs:1:1
+ |
+LL | #[rustc_diagnostic_item = "foomp"]
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+ = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0658`.