about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-11 07:52:41 +0000
committerbors <bors@rust-lang.org>2023-11-11 07:52:41 +0000
commit4a0c36d648b8442698e5c7b6bfc3bb42eeffdbd2 (patch)
tree18eed8f02646aed3a213e7cab7919ee4ed153743 /src
parent9a4dd106d9fb2466e558b3bd4977ec5e8a77983f (diff)
parentf1979d48d7b8b90bc45b2c4fa1afe62c3c1066e8 (diff)
downloadrust-4a0c36d648b8442698e5c7b6bfc3bb42eeffdbd2.tar.gz
rust-4a0c36d648b8442698e5c7b6bfc3bb42eeffdbd2.zip
Auto merge of #11790 - Alexendoo:destructure-conf, r=Manishearth
Destructure `Conf` in `register_lints`

And some other miscellaneous clean-up in the area

changelog: none
Diffstat (limited to 'src')
-rw-r--r--src/driver.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver.rs b/src/driver.rs
index 7bb49d08da6..1ae8ac81695 100644
--- a/src/driver.rs
+++ b/src/driver.rs
@@ -148,7 +148,7 @@ impl rustc_driver::Callbacks for ClippyCallbacks {
             }
 
             let conf = clippy_config::Conf::read(sess, &conf_path);
-            clippy_lints::register_plugins(lint_store, sess, conf);
+            clippy_lints::register_lints(lint_store, conf);
             clippy_lints::register_pre_expansion_lints(lint_store, conf);
             clippy_lints::register_renamed(lint_store);
         }));