From f37f2f710cb5b143f332cd29194874d7c29a8c3c Mon Sep 17 00:00:00 2001 From: Tatsuyuki Ishi Date: Sun, 27 Aug 2017 16:02:05 +0900 Subject: [PATCH 1/2] Reorder allow attributes to suppress unknown lint warning --- clippy_lints/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/lib.rs b/clippy_lints/src/lib.rs index 892d664aabb..a29e6a84483 100644 --- a/clippy_lints/src/lib.rs +++ b/clippy_lints/src/lib.rs @@ -10,7 +10,7 @@ #![feature(stmt_expr_attributes)] #![feature(conservative_impl_trait)] -#![allow(indexing_slicing, shadow_reuse, unknown_lints, missing_docs_in_private_items)] +#![allow(unknown_lints, indexing_slicing, shadow_reuse, missing_docs_in_private_items)] extern crate syntax; extern crate syntax_pos; From b8da486ce5a8a8a3590cb38497030d293217104f Mon Sep 17 00:00:00 2001 From: Tatsuyuki Ishi Date: Sun, 27 Aug 2017 16:04:20 +0900 Subject: [PATCH 2/2] Remove unused extern crates --- clippy_lints/src/lib.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/clippy_lints/src/lib.rs b/clippy_lints/src/lib.rs index a29e6a84483..feb094cc85b 100644 --- a/clippy_lints/src/lib.rs +++ b/clippy_lints/src/lib.rs @@ -16,14 +16,9 @@ extern crate syntax; extern crate syntax_pos; #[macro_use] extern crate rustc; -extern crate rustc_data_structures; extern crate toml; -// Only for the compile time checking of paths -extern crate core; -extern crate alloc; - // for unicode nfc normalization extern crate unicode_normalization;