Remove now-useless allow(unknown_lints)

This commit is contained in:
Oliver Scherer 2018-10-11 12:18:27 +02:00
parent b8654eaa6c
commit 9d3373137b
5 changed files with 4 additions and 5 deletions

View file

@ -15,7 +15,7 @@
#![feature(slice_patterns)] #![feature(slice_patterns)]
#![feature(stmt_expr_attributes)] #![feature(stmt_expr_attributes)]
#![feature(range_contains)] #![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"] #![recursion_limit = "256"]
#![feature(macro_at_most_once_rep)] #![feature(macro_at_most_once_rep)]

View file

@ -13,7 +13,7 @@
#![feature(rustc_private)] #![feature(rustc_private)]
#![feature(try_from)] #![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. // FIXME: switch to something more ergonomic here, once available.
// (currently there is no way to opt into sysroot crates w/o `extern crate`) // (currently there is no way to opt into sysroot crates w/o `extern crate`)

View file

@ -12,7 +12,6 @@
#![feature(plugin_registrar)] #![feature(plugin_registrar)]
#![feature(rustc_private)] #![feature(rustc_private)]
#![allow(unknown_lints)]
#![allow(clippy::missing_docs_in_private_items)] #![allow(clippy::missing_docs_in_private_items)]
#![warn(rust_2018_idioms)] #![warn(rust_2018_idioms)]

View file

@ -12,7 +12,7 @@
#![feature(box_syntax)] #![feature(box_syntax)]
#![feature(rustc_private)] #![feature(rustc_private)]
#![allow(unknown_lints, clippy::missing_docs_in_private_items)] #![allow(clippy::missing_docs_in_private_items)]
use rustc_tools_util::*; use rustc_tools_util::*;

View file

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