diff options
| author | bors <bors@rust-lang.org> | 2019-07-28 16:34:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-07-28 16:34:59 +0000 |
| commit | 4560cb830fce63fcffdc4558f4281aaac6a3a1ba (patch) | |
| tree | 3863f24b2c59b79009465a6f60990acdfccffe30 /src/test/ui/error-codes | |
| parent | 023525dbda35748a10713471b948974b68a1c2cc (diff) | |
| parent | 1a370109ec176fa33a9cac2fe143b43c56ebcfd9 (diff) | |
| download | rust-4560cb830fce63fcffdc4558f4281aaac6a3a1ba.tar.gz rust-4560cb830fce63fcffdc4558f4281aaac6a3a1ba.zip | |
Auto merge of #62910 - petrochenkov:buildwarn2, r=Mark-Simulacrum
cleanup: Remove lint annotations in specific crates that are already enforced by rustbuild Remove some random unnecessary lint `allow`s. Deny `unused_lifetimes` through rustbuild. r? @Mark-Simulacrum
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0254.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/error-codes/E0259.rs | 1 | ||||
| -rw-r--r-- | src/test/ui/error-codes/E0259.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/error-codes/E0260.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/error-codes/E0260.stderr | 2 |
5 files changed, 3 insertions, 6 deletions
diff --git a/src/test/ui/error-codes/E0254.rs b/src/test/ui/error-codes/E0254.rs index d166aff5657..e291268be86 100644 --- a/src/test/ui/error-codes/E0254.rs +++ b/src/test/ui/error-codes/E0254.rs @@ -1,4 +1,4 @@ -#![allow(unused_extern_crates, non_camel_case_types)] +#![allow(non_camel_case_types)] extern crate alloc; diff --git a/src/test/ui/error-codes/E0259.rs b/src/test/ui/error-codes/E0259.rs index c83561be9c6..e7e94d58635 100644 --- a/src/test/ui/error-codes/E0259.rs +++ b/src/test/ui/error-codes/E0259.rs @@ -1,5 +1,4 @@ #![feature(rustc_private)] -#![allow(unused_extern_crates)] extern crate alloc; diff --git a/src/test/ui/error-codes/E0259.stderr b/src/test/ui/error-codes/E0259.stderr index fd6a4087aec..4a48a4d5541 100644 --- a/src/test/ui/error-codes/E0259.stderr +++ b/src/test/ui/error-codes/E0259.stderr @@ -1,5 +1,5 @@ error[E0259]: the name `alloc` is defined multiple times - --> $DIR/E0259.rs:6:1 + --> $DIR/E0259.rs:5:1 | LL | extern crate alloc; | ------------------- previous import of the extern crate `alloc` here diff --git a/src/test/ui/error-codes/E0260.rs b/src/test/ui/error-codes/E0260.rs index 73b8934159f..f7eb220b08f 100644 --- a/src/test/ui/error-codes/E0260.rs +++ b/src/test/ui/error-codes/E0260.rs @@ -1,5 +1,3 @@ -#![allow(unused_extern_crates)] - extern crate alloc; mod alloc { diff --git a/src/test/ui/error-codes/E0260.stderr b/src/test/ui/error-codes/E0260.stderr index 7d0b3022914..737b20b91ec 100644 --- a/src/test/ui/error-codes/E0260.stderr +++ b/src/test/ui/error-codes/E0260.stderr @@ -1,5 +1,5 @@ error[E0260]: the name `alloc` is defined multiple times - --> $DIR/E0260.rs:5:1 + --> $DIR/E0260.rs:3:1 | LL | extern crate alloc; | ------------------- previous import of the extern crate `alloc` here |
