diff options
Diffstat (limited to 'alacritty_config_derive/src/lib.rs')
-rw-r--r-- | alacritty_config_derive/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/alacritty_config_derive/src/lib.rs b/alacritty_config_derive/src/lib.rs index 8601d5cb..af8f2e7f 100644 --- a/alacritty_config_derive/src/lib.rs +++ b/alacritty_config_derive/src/lib.rs @@ -1,3 +1,6 @@ +#![deny(clippy::all, clippy::if_not_else, clippy::enum_glob_use)] +#![cfg_attr(feature = "cargo-clippy", deny(warnings))] + use proc_macro::TokenStream; use syn::{parse_macro_input, Data, DataStruct, DeriveInput, Error, Fields, Path}; |