From c730de955e6098359cef8ec37c90627402a41e1e Mon Sep 17 00:00:00 2001 From: Philipp Hansch Date: Tue, 12 Mar 2019 07:32:02 +0100 Subject: [PATCH] Remove some unused features and `error-pattern`s --- src/driver.rs | 3 --- src/lib.rs | 1 - src/main.rs | 5 ----- 3 files changed, 9 deletions(-) diff --git a/src/driver.rs b/src/driver.rs index 82326bf780c..01358f46dd7 100644 --- a/src/driver.rs +++ b/src/driver.rs @@ -1,7 +1,4 @@ -// error-pattern:yummy -#![feature(box_syntax)] #![feature(rustc_private)] -#![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 without `extern crate`.) diff --git a/src/lib.rs b/src/lib.rs index 63af1283bcc..86174a6b316 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,7 +1,6 @@ // error-pattern:cargo-clippy #![feature(plugin_registrar)] #![feature(rustc_private)] -#![allow(clippy::missing_docs_in_private_items)] #![warn(rust_2018_idioms)] // FIXME: switch to something more ergonomic here, once available. diff --git a/src/main.rs b/src/main.rs index 208262ca30f..e0b2bcc7266 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,8 +1,3 @@ -// error-pattern:yummy -#![feature(box_syntax)] -#![feature(rustc_private)] -#![allow(clippy::missing_docs_in_private_items)] - use rustc_tools_util::*; const CARGO_CLIPPY_HELP: &str = r#"Checks a package to catch common mistakes and improve your Rust code. -- 2.44.0