diff --git a/src/v2/codegen/impls.rs b/src/v2/codegen/impls.rs index 6c29fff8d..10dd8d386 100644 --- a/src/v2/codegen/impls.rs +++ b/src/v2/codegen/impls.rs @@ -315,6 +315,8 @@ impl<'a> ApiObjectImpl<'a> { } let needs_container = builder.needs_container(); + + f.write_str("\n#[allow(clippy::from_over_into)]")?; f.write_str("\nimpl")?; if builder.needs_any { ApiObject::write_any_generic(f)?;