2019-08-29 19:46:25 -05:00
|
|
|
error[E0658]: diagnostic items compiler internal support for linting
|
2019-05-19 13:16:04 -05:00
|
|
|
--> $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`.
|