diff --git a/Cargo.toml b/Cargo.toml index a68b7edca8..a76283cfe9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -132,7 +132,6 @@ ignored_unit_patterns = "allow" indexing_slicing = "allow" integer_division = "allow" integer_division_remainder_used = "allow" -large_enum_variant = "allow" let_unit_value = "allow" manual_assert_eq = "allow" # TODO: easy fix map_err_ignore = "allow" diff --git a/src/proto/h2/server.rs b/src/proto/h2/server.rs index 6180ce8f80..30803643c8 100644 --- a/src/proto/h2/server.rs +++ b/src/proto/h2/server.rs @@ -94,6 +94,8 @@ pin_project! { } } +//#[expect(clippy::large_enum_variant, reason = "the whole future is boxed")] +#[allow(clippy::large_enum_variant)] enum State where B: Body,