Skip to content

Commit 03a7f9b

Browse files
committed
fix build error 2
1 parent 6502cff commit 03a7f9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
917917
store.register_late_pass(|_| Box::new(box_default::BoxDefault));
918918
store.register_late_pass(|_| Box::new(implicit_saturating_add::ImplicitSaturatingAdd));
919919
store.register_early_pass(|| Box::new(partial_pub_fields::PartialPubFields));
920-
store.register_late_pass(|| Box::new(paths_from_format::PathsFromFormat));
920+
store.register_late_pass(|_| Box::new(paths_from_format::PathsFromFormat));
921921
// add lints here, do not remove this comment, it's used in `new_lint`
922922
}
923923

0 commit comments

Comments
 (0)