diff options
| author | Mark Simulacrum <mark.simulacrum@gmail.com> | 2018-04-09 11:21:43 -0600 |
|---|---|---|
| committer | Mark Simulacrum <mark.simulacrum@gmail.com> | 2018-04-10 20:04:57 -0600 |
| commit | 53718d2ef1729c987531dc94971c905815daef55 (patch) | |
| tree | e8ca712bf480cd5a6138f4cc4e46c88d620ff8ee /src/tools/rustdoc | |
| parent | c115cc655c8bb3077ff349e4ddd704a2239438a6 (diff) | |
Allow incorrectly reported unused attribute warning
Diffstat (limited to 'src/tools/rustdoc')
| -rw-r--r-- | src/tools/rustdoc/main.rs | 2 |
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")] |
