Skip to content

Commit b1f3340

Browse files
committed
Revert "Macro guard implementation and lint suggestion refector"
This reverts commit ae4d493.
1 parent 3cb4e86 commit b1f3340

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clippy_lints/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,8 @@ pub fn register_lints(store: &mut rustc_lint::LintStore, conf: &'static Conf) {
943943
store.register_late_pass(move |_| Box::new(non_std_lazy_statics::NonStdLazyStatic::new(conf)));
944944
store.register_late_pass(|_| Box::new(manual_option_as_slice::ManualOptionAsSlice::new(conf)));
945945
store.register_late_pass(|_| Box::new(single_option_map::SingleOptionMap));
946-
store.register_late_pass(move |_| Box::new(redundant_test_prefix::RedundantTestPrefix));
947946
store.register_late_pass(move |_| Box::new(manual_checked_sub::ManualCheckedSub::new(conf)));
947+
store.register_late_pass(move |_| Box::new(redundant_test_prefix::RedundantTestPrefix));
948+
948949
// add lints here, do not remove this comment, it's used in `new_lint`
949950
}

0 commit comments

Comments
 (0)