diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-07-23 20:34:17 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-07-28 18:46:24 +0300 |
| commit | 434152157f9d73ad1899fb8da3a61aed6f8a46d6 (patch) | |
| tree | fd0dd6654839751b494670ba2da674246dc37cfb /src/bootstrap/bin | |
| parent | 0cfb2f7fbda1d27e12913d21d1c8e56a4133dbe1 (diff) | |
| download | rust-434152157f9d73ad1899fb8da3a61aed6f8a46d6.tar.gz rust-434152157f9d73ad1899fb8da3a61aed6f8a46d6.zip | |
Remove lint annotations in specific crates that are already enforced by rustbuild
Remove some random unnecessary lint `allow`s
Diffstat (limited to 'src/bootstrap/bin')
| -rw-r--r-- | src/bootstrap/bin/main.rs | 3 | ||||
| -rw-r--r-- | src/bootstrap/bin/rustc.rs | 3 | ||||
| -rw-r--r-- | src/bootstrap/bin/rustdoc.rs | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/src/bootstrap/bin/main.rs b/src/bootstrap/bin/main.rs index 0732cb83f39..da35c971f97 100644 --- a/src/bootstrap/bin/main.rs +++ b/src/bootstrap/bin/main.rs @@ -5,7 +5,8 @@ //! parent directory, and otherwise documentation can be found throughout the `build` //! directory in each respective module. -#![deny(warnings)] +// NO-RUSTC-WRAPPER +#![deny(warnings, rust_2018_idioms)] use std::env; diff --git a/src/bootstrap/bin/rustc.rs b/src/bootstrap/bin/rustc.rs index a9225f2870f..3888d0ef627 100644 --- a/src/bootstrap/bin/rustc.rs +++ b/src/bootstrap/bin/rustc.rs @@ -15,7 +15,8 @@ //! switching compilers for the bootstrap and for build scripts will probably //! never get replaced. -#![deny(warnings)] +// NO-RUSTC-WRAPPER +#![deny(warnings, rust_2018_idioms)] use std::env; use std::ffi::OsString; diff --git a/src/bootstrap/bin/rustdoc.rs b/src/bootstrap/bin/rustdoc.rs index 1c9f6e1ab28..057daaf2dc4 100644 --- a/src/bootstrap/bin/rustdoc.rs +++ b/src/bootstrap/bin/rustdoc.rs @@ -2,7 +2,8 @@ //! //! See comments in `src/bootstrap/rustc.rs` for more information. -#![deny(warnings)] +// NO-RUSTC-WRAPPER +#![deny(warnings, rust_2018_idioms)] use std::env; use std::process::Command; |
