Ignore trivially_copy_pass_by_ref lint in generated code
diff --git a/codegen/src/main.rs b/codegen/src/main.rs
index 2ef5272..776df1c 100644
--- a/codegen/src/main.rs
+++ b/codegen/src/main.rs
@@ -1129,7 +1129,10 @@
     write_file(
         VISIT_SRC,
         quote! {
-            #![cfg_attr(feature = "cargo-clippy", allow(match_same_arms))]
+            #![cfg_attr(
+                feature = "cargo-clippy",
+                allow(match_same_arms, trivially_copy_pass_by_ref)
+            )]
 
             use *;
             #[cfg(any(feature = "full", feature = "derive"))]