diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2022-08-10 16:48:46 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-10 16:48:46 +0400 |
commit | 7d708d53f7ecb4c64db10ae44e7f4fca47c29a85 (patch) | |
tree | ce76633d705da9b90e7e0d78afa24cef183ee286 /alacritty_config_derive | |
parent | 76c5d01ee2b2178e71df578a109108655a97c24a (diff) | |
download | alacritty-7d708d53f7ecb4c64db10ae44e7f4fca47c29a85.tar.gz alacritty-7d708d53f7ecb4c64db10ae44e7f4fca47c29a85.zip |
Bump glutin to 0.29.1
Fixes #6239.
Fixes #5975.
Fixes #5876.
Fixes #5767.
Fixes #4484.
Fixes #3139.
Diffstat (limited to 'alacritty_config_derive')
-rw-r--r-- | alacritty_config_derive/src/lib.rs | 3 | ||||
-rw-r--r-- | alacritty_config_derive/tests/config.rs | 2 |
2 files changed, 4 insertions, 1 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}; diff --git a/alacritty_config_derive/tests/config.rs b/alacritty_config_derive/tests/config.rs index 2cdae613..4828b822 100644 --- a/alacritty_config_derive/tests/config.rs +++ b/alacritty_config_derive/tests/config.rs @@ -105,7 +105,7 @@ fn config_deserialize() { assert_eq!(test.enom_small, TestEnum::One); assert_eq!(test.enom_big, TestEnum::Three); assert_eq!(test.enom_error, Test::default().enom_error); - assert_eq!(test.gone, false); + assert!(!test.gone); assert_eq!(test.nesting.field1, Test::default().nesting.field1); assert_eq!(test.nesting.field2, None); assert_eq!(test.nesting.field3, Test::default().nesting.field3); |