diff options
author | Kamal Marhubi <kamal@marhubi.com> | 2016-06-06 20:48:02 +0200 |
---|---|---|
committer | Kamal Marhubi <kamal@marhubi.com> | 2016-06-06 20:48:02 +0200 |
commit | f2a6b6dd776f119aab81797810d20b4e11f4db2e (patch) | |
tree | 1bbd6d03e94e9c78781ea6e52f2da3fcb9f700e0 /src/lib.rs | |
parent | c10eabec3a6df1b46ae4f0b95e8c04972b8490bf (diff) | |
download | nix-f2a6b6dd776f119aab81797810d20b4e11f4db2e.zip |
Only deny warnings in test
This prevents us breaking builds under newer Rust versions with
additional warnings.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ // latest bitflags triggers a rustc bug with cross-crate macro expansions causing dead_code // warnings even though the macro expands into something with allow(dead_code) #![allow(dead_code)] -#![deny(warnings)] +#![cfg_attr(test, deny(warnings))] #[macro_use] extern crate bitflags; |