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.