Skip to content

Commit

Permalink
Auto merge of rust-lang#376 - kamalmarhubi:warnings-in-test, r=utkars…
Browse files Browse the repository at this point in the history
…hkukreti

Only deny warnings in test

This prevents us breaking builds under newer Rust versions with
additional warnings.
  • Loading branch information
homu committed Jun 11, 2016
2 parents c14bfc5 + f2a6b6d commit d9f6316
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 d9f6316

Please sign in to comment.