Skip to content

Commit 7027d68

Browse files
committed
Merge branch 'empty-drop' of github.com:PyroTechniac/rust-clippy into empty-drop
2 parents ee81e88 + 7af1029 commit 7027d68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clippy_lints/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
877877
ignore_publish: cargo_ignore_publish,
878878
})
879879
});
880+
store.register_late_pass(|| Box::new(empty_drop::EmptyDrop));
880881
store.register_early_pass(|| Box::new(crate_in_macro_def::CrateInMacroDef));
881882
store.register_early_pass(|| Box::new(empty_structs_with_brackets::EmptyStructsWithBrackets));
882883
store.register_late_pass(|| Box::new(unnecessary_owned_empty_strings::UnnecessaryOwnedEmptyStrings));

0 commit comments

Comments
 (0)