Static rustc_lint::builtin::UNKNOWN_CRATE_TYPES
source · pub static UNKNOWN_CRATE_TYPES: &'static Lint
Expand description
The unknown_crate_types
lint detects an unknown crate type found in
a crate_type
attribute.
Example
ⓘ
#![crate_type="lol"]
fn main() {}
{{produces}}
Explanation
An unknown value give to the crate_type
attribute is almost
certainly a mistake.