File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 77FEATURES=" rayon,serde"
88if [ " ${TRAVIS_RUST_VERSION} " = " nightly" ]; then
99 FEATURES=" ${FEATURES} ,nightly"
10+ export RUSTFLAGS=" $RUSTFLAGS --cfg hashbrown_deny_warnings"
1011fi
1112
1213CARGO=cargo
@@ -18,6 +19,8 @@ if [ "${CROSS}" = "1" ]; then
1819 CARGO=cross
1920fi
2021
22+ export RUSTFLAGS=" $RUSTFLAGS --cfg hashbrown_deny_warnings"
23+
2124" ${CARGO} " -vv test --target=" ${TARGET} "
2225" ${CARGO} " -vv test --target=" ${TARGET} " --features " ${FEATURES} "
2326
Original file line number Diff line number Diff line change 2323 )
2424) ]
2525#![ warn( missing_docs) ]
26+ #![ cfg_attr( hashbrown_deny_warnings, deny( warnings) ) ]
2627
2728#[ cfg( test) ]
2829#[ macro_use]
30+ #[ allow( unused_imports) ]
2931extern crate std;
3032#[ cfg( test) ]
3133extern crate rand;
3234
35+
3336#[ cfg( feature = "nightly" ) ]
3437#[ cfg_attr( test, macro_use) ]
3538extern crate alloc;
You can’t perform that action at this time.
0 commit comments