diff --git a/rust/src/pgsql/parser.rs b/rust/src/pgsql/parser.rs index 502d3529fc..4a2ccef9a3 100644 --- a/rust/src/pgsql/parser.rs +++ b/rust/src/pgsql/parser.rs @@ -1094,6 +1094,7 @@ pub fn pgsql_parse_response(i: &[u8]) -> IResult<&[u8], PgsqlBEMessage> { } #[cfg(test)] +#[allow(clippy::vec_init_then_push)] mod tests { use super::*; diff --git a/rust/src/rdp/parser.rs b/rust/src/rdp/parser.rs index a8004e290b..f6e04e410c 100644 --- a/rust/src/rdp/parser.rs +++ b/rust/src/rdp/parser.rs @@ -1103,6 +1103,7 @@ mod tests_negotiate_49350 { } #[cfg(test)] +#[allow(clippy::vec_init_then_push)] mod tests_core_49350 { use crate::rdp::parser::*;