Static rustc_ap_rustc_lint_defs::builtin::UNKNOWN_CRATE_TYPES[][src]

pub static UNKNOWN_CRATE_TYPES: &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.