Skip to content

Commit 9d33731

Browse files
committed
Remove now-useless allow(unknown_lints)
1 parent b8654ea commit 9d33731

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

clippy_lints/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#![feature(slice_patterns)]
1616
#![feature(stmt_expr_attributes)]
1717
#![feature(range_contains)]
18-
#![allow(unknown_lints, clippy::shadow_reuse, clippy::missing_docs_in_private_items)]
18+
#![allow(clippy::shadow_reuse, clippy::missing_docs_in_private_items)]
1919
#![recursion_limit = "256"]
2020
#![feature(macro_at_most_once_rep)]
2121

src/driver.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#![feature(rustc_private)]
1414

1515
#![feature(try_from)]
16-
#![allow(unknown_lints, clippy::missing_docs_in_private_items)]
16+
#![allow(clippy::missing_docs_in_private_items)]
1717

1818
// FIXME: switch to something more ergonomic here, once available.
1919
// (currently there is no way to opt into sysroot crates w/o `extern crate`)

src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#![feature(plugin_registrar)]
1313
#![feature(rustc_private)]
1414

15-
#![allow(unknown_lints)]
1615
#![allow(clippy::missing_docs_in_private_items)]
1716
#![warn(rust_2018_idioms)]
1817

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#![feature(box_syntax)]
1313
#![feature(rustc_private)]
1414

15-
#![allow(unknown_lints, clippy::missing_docs_in_private_items)]
15+
#![allow(clippy::missing_docs_in_private_items)]
1616

1717
use rustc_tools_util::*;
1818

tests/ui/eta.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111

1212

13-
#![allow(unknown_lints, unused, clippy::no_effect, clippy::redundant_closure_call, clippy::many_single_char_names, clippy::needless_pass_by_value, clippy::option_map_unit_fn, clippy::trivially_copy_pass_by_ref)]
13+
#![allow(unused, clippy::no_effect, clippy::redundant_closure_call, clippy::many_single_char_names, clippy::needless_pass_by_value, clippy::option_map_unit_fn, clippy::trivially_copy_pass_by_ref)]
1414
#![warn(clippy::redundant_closure, clippy::needless_borrow)]
1515

1616
fn main() {

0 commit comments

Comments
 (0)