diff options
Diffstat (limited to 'tests/ui/tool-attributes/diagnostic_item.stderr')
-rw-r--r-- | tests/ui/tool-attributes/diagnostic_item.stderr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/tool-attributes/diagnostic_item.stderr b/tests/ui/tool-attributes/diagnostic_item.stderr new file mode 100644 index 000000000..743e4b658 --- /dev/null +++ b/tests/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`. |