Deny unstable_features in "std" builds.

This commit is contained in:
Dan Gohman
2018-08-03 15:03:05 -07:00
parent 8bd1b877ef
commit cc4bf1c7fb
13 changed files with 21 additions and 21 deletions

View File

@@ -2,7 +2,7 @@
#![deny(missing_docs, trivial_numeric_casts, unused_extern_crates)]
#![warn(unused_import_braces)]
#![cfg_attr(feature = "std", warn(unstable_features))]
#![cfg_attr(feature = "std", deny(unstable_features))]
#![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))]
#![cfg_attr(feature="cargo-clippy", allow(
// This requires Rust 1.27 or later.