Static clippy_lints::matches::SINGLE_MATCH
[−]
pub static SINGLE_MATCH: &'static Lint=
&::rustc::lint::Lint{name: "SINGLE_MATCH", default_level: ::rustc::lint::Warn, desc: "a match statement with a single nontrivial arm (i.e, where the other arm is `_ => {}`) instead of `if let`",}