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

Add missing clippy_lint register calls #1247

Merged
merged 1 commit into from
Jan 22, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/build/rustc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ fn clippy_after_parse_callback(state: &mut rustc_driver::driver::CompileState<'_
for (name, (to, deprecated_name)) in lint_groups {
ls.register_group(Some(sess), true, name, deprecated_name, to);
}
clippy_lints::register_pre_expansion_lints(sess, &mut ls, &conf);
clippy_lints::register_renamed(&mut ls);

sess.plugin_llvm_passes.borrow_mut().extend(llvm_passes);
sess.plugin_attributes.borrow_mut().extend(attributes);
Expand Down