rust/src/test/ui/tool-attributes/diagnostic_item.stderr

18 lines
663 B
Plaintext
Raw Normal View History

2019-08-29 19:46:25 -05:00
error[E0658]: diagnostic items compiler internal support for linting
--> $DIR/diagnostic_item.rs:1:1
|
LL | #[rustc_diagnostic_item = "foomp"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
error[E0601]: `main` function not found in crate `diagnostic_item`
|
= note: consider adding a `main` function to `$DIR/diagnostic_item.rs`
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0601, E0658.
For more information about an error, try `rustc --explain E0601`.