commit | c8d3e4abd2b122e42a6d9a34008803b14532f73a | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Wed Nov 21 01:36:58 2018 -0800 |
committer | David Tolnay <dtolnay@gmail.com> | Wed Nov 21 01:36:58 2018 -0800 |
tree | 47f366a36a6cb6cef410ee746208415c260cde8c | |
parent | 807ecffd43488ad193925046772fac5ce8fd1661 [diff] [blame] |
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]