Move codegen to tool attributes
diff --git a/codegen/src/main.rs b/codegen/src/main.rs
index 9f884b9..c7b2a87 100644
--- a/codegen/src/main.rs
+++ b/codegen/src/main.rs
@@ -11,13 +11,10 @@
 //! 3. The path to `syn` is hardcoded.
 
 #![recursion_limit = "128"]
-#![cfg_attr(
-    feature = "cargo-clippy",
-    allow(
-        needless_pass_by_value,
-        redundant_closure,
-        write_with_newline,
-    )
+#![allow(
+    clippy::needless_pass_by_value,
+    clippy::redundant_closure,
+    clippy::write_with_newline,
 )]
 
 #[macro_use]