Skip to content

Commit

Permalink
Remove now-useless allow(unknown_lints)
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Oct 11, 2018
1 parent b8654ea commit 9d33731
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion clippy_lints/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#![feature(slice_patterns)]
#![feature(stmt_expr_attributes)]
#![feature(range_contains)]
#![allow(unknown_lints, clippy::shadow_reuse, clippy::missing_docs_in_private_items)]
#![allow(clippy::shadow_reuse, clippy::missing_docs_in_private_items)]
#![recursion_limit = "256"]
#![feature(macro_at_most_once_rep)]

Expand Down
2 changes: 1 addition & 1 deletion src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#![feature(rustc_private)]

#![feature(try_from)]
#![allow(unknown_lints, clippy::missing_docs_in_private_items)]
#![allow(clippy::missing_docs_in_private_items)]

// FIXME: switch to something more ergonomic here, once available.
// (currently there is no way to opt into sysroot crates w/o `extern crate`)
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#![feature(plugin_registrar)]
#![feature(rustc_private)]

#![allow(unknown_lints)]
#![allow(clippy::missing_docs_in_private_items)]
#![warn(rust_2018_idioms)]

Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#![feature(box_syntax)]
#![feature(rustc_private)]

#![allow(unknown_lints, clippy::missing_docs_in_private_items)]
#![allow(clippy::missing_docs_in_private_items)]

use rustc_tools_util::*;

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/eta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@



#![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)]
#![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)]
#![warn(clippy::redundant_closure, clippy::needless_borrow)]

fn main() {
Expand Down

0 comments on commit 9d33731

Please sign in to comment.