ignore 'large enum variant' for now

This commit is contained in:
Folkert 2021-12-05 15:28:24 +01:00
parent 28b4388488
commit 41c5d53ef9

View File

@ -124,6 +124,9 @@ enum CanonicalizeFieldProblem {
field_region: Region,
},
}
// TODO: the `value_output: Output` field takes _a lot_ of space!
#[allow(clippy::large_enum_variant)]
enum CanonicalField<'a> {
LabelAndValue {
label: &'a str,
@ -136,6 +139,7 @@ enum CanonicalField<'a> {
var: Variable,
}, // TODO make ValidLabelOnly
}
fn canonicalize_field<'a>(
env: &mut Env<'a>,
scope: &mut Scope,