[−][src]Static rustc_lint_defs::builtin::UNKNOWN_CRATE_TYPES
pub static UNKNOWN_CRATE_TYPES: &Lint
The unknown_crate_types lint detects an unknown crate type found in
a crate_type attribute.
Example
ⓘThis example deliberately fails to compile
#![crate_type="lol"] fn main() {}
{{produces}}
Explanation
An unknown value give to the crate_type attribute is almost
certainly a mistake.