about summary refs log tree commit diff
path: root/src/tools/rustdoc
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2018-04-09 11:21:43 -0600
committerMark Simulacrum <mark.simulacrum@gmail.com>2018-04-10 20:04:57 -0600
commit53718d2ef1729c987531dc94971c905815daef55 (patch)
treee8ca712bf480cd5a6138f4cc4e46c88d620ff8ee /src/tools/rustdoc
parentc115cc655c8bb3077ff349e4ddd704a2239438a6 (diff)
Allow incorrectly reported unused attribute warning
Diffstat (limited to 'src/tools/rustdoc')
-rw-r--r--src/tools/rustdoc/main.rs2
1 files changed, 2 insertions, 0 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")]