]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #62438 - petrochenkov:buildwarn, r=Mark-Simulacrum
authorMazdak Farrokhzad <twingoow@gmail.com>
Sun, 7 Jul 2019 03:11:55 +0000 (05:11 +0200)
committerGitHub <noreply@github.com>
Sun, 7 Jul 2019 03:11:55 +0000 (05:11 +0200)
rustbuild: Cleanup global lint settings

Lint settings do not depend on `if let Some(target) = target` in any way, so they are moved out of that clause.

Internal lints now respect `RUSTC_DENY_WARNINGS`.

Crate name treatment is cleaned up a bit.

cc https://github.com/rust-lang/rust/pull/61545 @flip1995
r? @Mark-Simulacrum


Trivial merge