Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit e9c77a9

Browse files
committed
Add missing clippy_lints register calls
1 parent c9d25b6 commit e9c77a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/build/rustc.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ fn clippy_after_parse_callback(state: &mut rustc_driver::driver::CompileState<'_
220220
for (name, (to, deprecated_name)) in lint_groups {
221221
ls.register_group(Some(sess), true, name, deprecated_name, to);
222222
}
223+
clippy_lints::register_pre_expansion_lints(sess, &mut ls, &conf);
224+
clippy_lints::register_renamed(&mut ls);
223225

224226
sess.plugin_llvm_passes.borrow_mut().extend(llvm_passes);
225227
sess.plugin_attributes.borrow_mut().extend(attributes);

0 commit comments

Comments
 (0)