about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2024-09-24 11:58:04 +0200
committerPhilipp Krones <hello@philkrones.com>2024-09-24 11:58:04 +0200
commitb61fcbee76f8e862c1de7523058e7e8a8b4ed4ef (patch)
tree94c8da0e70fdde0f678142ebab95e1f55290e74a /src
parent249210e8d86a4de347def1be559dfa79d346cb9f (diff)
downloadrust-b61fcbee76f8e862c1de7523058e7e8a8b4ed4ef.tar.gz
rust-b61fcbee76f8e862c1de7523058e7e8a8b4ed4ef.zip
Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update
Diffstat (limited to 'src')
-rw-r--r--src/driver.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/driver.rs b/src/driver.rs
index 0ac3f35b446..324f754e615 100644
--- a/src/driver.rs
+++ b/src/driver.rs
@@ -15,9 +15,9 @@ extern crate rustc_session;
 extern crate rustc_span;
 
 use rustc_interface::interface;
+use rustc_session::EarlyDiagCtxt;
 use rustc_session::config::ErrorOutputType;
 use rustc_session::parse::ParseSess;
-use rustc_session::EarlyDiagCtxt;
 use rustc_span::symbol::Symbol;
 
 use std::env;
@@ -268,8 +268,6 @@ pub fn main() {
                 },
                 _ => Some(s.to_string()),
             })
-            // FIXME: remove this line in 1.79 to only keep `--cfg clippy`.
-            .chain(vec!["--cfg".into(), r#"feature="cargo-clippy""#.into()])
             .chain(vec!["--cfg".into(), "clippy".into()])
             .collect::<Vec<String>>();