about summary refs log tree commit diff
path: root/src/tools
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-04-11 03:30:04 +0000
committerbors <bors@rust-lang.org>2018-04-11 03:30:04 +0000
commit43e994c8b8f97246db16b82cea50d3eafecc3dd9 (patch)
tree214bd3d3576f2d50040b2a985a4e3f2323522a9e /src/tools
parent88ebd97d650dc70324db189b3159dff068accd3c (diff)
parent53718d2ef1729c987531dc94971c905815daef55 (diff)
downloadrust-43e994c8b8f97246db16b82cea50d3eafecc3dd9.tar.gz
rust-43e994c8b8f97246db16b82cea50d3eafecc3dd9.zip
Auto merge of #49715 - Mark-Simulacrum:deny-warnings, r=alexcrichton
Move deny(warnings) into rustbuild

This permits easier iteration without having to worry about warnings
being denied.

Fixes #49517
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/rustdoc/main.rs2
-rw-r--r--src/tools/tidy/src/lib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/rustdoc/main.rs b/src/tools/rustdoc/main.rs
index e726dea84f1..7aca765cead 100644
--- a/src/tools/rustdoc/main.rs
+++ b/src/tools/rustdoc/main.rs
@@ -9,6 +9,8 @@
 // except according to those terms.
 
 #![feature(link_args)]
+
+#[allow(unused_attributes)]
 // Set the stack size at link time on Windows. See rustc_driver::in_rustc_thread
 // for the rationale.
 #[cfg_attr(all(windows, target_env = "msvc"), link_args = "/STACK:16777216")]
diff --git a/src/tools/tidy/src/lib.rs b/src/tools/tidy/src/lib.rs
index 06eb055f68e..fa227436640 100644
--- a/src/tools/tidy/src/lib.rs
+++ b/src/tools/tidy/src/lib.rs
@@ -13,8 +13,6 @@
 //! This library contains the tidy lints and exposes it
 //! to be used by tools.
 
-#![deny(warnings)]
-
 extern crate serde;
 extern crate serde_json;
 #[macro_use]