rust: suppress large enum variant lint at location

And disable the global lint.
pull/8073/head
Jason Ish 3 years ago committed by Victor Julien
parent 74b7522b6a
commit 5a10fcd2d8

@ -97,7 +97,11 @@ impl DetectKrb5TicketEncryptionList {
}
}
// Suppress large enum variant lint as the LIST is very large compared
// to the boolean variant.
#[derive(Debug)]
#[allow(clippy::large_enum_variant)]
pub enum DetectKrb5TicketEncryptionData {
WEAK(bool),
LIST(DetectKrb5TicketEncryptionList),

@ -45,7 +45,6 @@
#![allow(clippy::field_reassign_with_default)]
#![allow(clippy::for_loops_over_fallibles)]
#![allow(clippy::if_same_then_else)]
#![allow(clippy::large_enum_variant)]
#![allow(clippy::manual_find)]
#![allow(clippy::map_flatten)]
#![allow(clippy::match_like_matches_macro)]

Loading…
Cancel
Save