about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2018-04-01 09:35:53 -0600
committerMark Simulacrum <mark.simulacrum@gmail.com>2018-04-08 16:59:14 -0600
commitc115cc655c8bb3077ff349e4ddd704a2239438a6 (patch)
tree929e932baf457750f0f7296ea33f1457e6e2ce9b /src/liballoc
parentb7da1aaff62c1394d56830dc975d24d99c7a4fd8 (diff)
downloadrust-c115cc655c8bb3077ff349e4ddd704a2239438a6.tar.gz
rust-c115cc655c8bb3077ff349e4ddd704a2239438a6.zip
Move deny(warnings) into rustbuild
This permits easier iteration without having to worry about warnings
being denied.

Fixes #49517
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/benches/lib.rs2
-rw-r--r--src/liballoc/lib.rs1
-rw-r--r--src/liballoc/tests/lib.rs2
3 files changed, 0 insertions, 5 deletions
diff --git a/src/liballoc/benches/lib.rs b/src/liballoc/benches/lib.rs
index 4d92fc67b2a..4f69aa6670b 100644
--- a/src/liballoc/benches/lib.rs
+++ b/src/liballoc/benches/lib.rs
@@ -8,8 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![deny(warnings)]
-
 #![feature(rand)]
 #![feature(repr_simd)]
 #![feature(slice_sort_by_cached_key)]
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index da26e7c852c..b08bd66b47c 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -72,7 +72,6 @@
        test(no_crate_inject, attr(allow(unused_variables), deny(warnings))))]
 #![no_std]
 #![needs_allocator]
-#![deny(warnings)]
 #![deny(missing_debug_implementations)]
 
 #![cfg_attr(test, allow(deprecated))] // rand
diff --git a/src/liballoc/tests/lib.rs b/src/liballoc/tests/lib.rs
index a173ef10a81..17f1d0464a5 100644
--- a/src/liballoc/tests/lib.rs
+++ b/src/liballoc/tests/lib.rs
@@ -8,8 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![deny(warnings)]
-
 #![feature(allocator_api)]
 #![feature(alloc_system)]
 #![feature(attr_literals)]