Skip to content

Commit b61c140

Browse files
committed
Added an unused_rounding lint
1 parent 655b516 commit b61c140

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
@@ -908,6 +908,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
908908
store.register_early_pass(|| Box::new(duplicate_mod::DuplicateMod::default()));
909909
store.register_early_pass(|| Box::new(unused_rounding::UnusedRounding));
910910
store.register_late_pass(|| Box::new(get_first::GetFirst));
911+
store.register_early_pass(|| Box::new(unused_rounding::UnusedRounding));
911912
// add lints here, do not remove this comment, it's used in `new_lint`
912913
}
913914

0 commit comments

Comments
 (0)