Skip to content

Commit

Permalink
Only deny warnings in test
Browse files Browse the repository at this point in the history
This prevents us breaking builds under newer Rust versions with
additional warnings.
  • Loading branch information
kamalmarhubi committed Jun 6, 2016
1 parent c10eabe commit f2a6b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f2a6b6d

Please sign in to comment.