Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/cfg/src/lib.rs')
| -rw-r--r-- | crates/cfg/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/cfg/src/lib.rs b/crates/cfg/src/lib.rs index 837b8d4c92..d78ef4fb11 100644 --- a/crates/cfg/src/lib.rs +++ b/crates/cfg/src/lib.rs @@ -1,5 +1,7 @@ //! cfg defines conditional compiling options, `cfg` attribute parser and evaluator +#![warn(rust_2018_idioms, unused_lifetimes, semicolon_in_expressions_from_macros)] + mod cfg_expr; mod dnf; #[cfg(test)] |