Skip to content

Commit efc305a

Browse files
committed
Rework only_used_in_recursion
1 parent 7c21f91 commit efc305a

File tree

4 files changed

+394
-655
lines changed

4 files changed

+394
-655
lines changed

clippy_lints/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
873873
store.register_late_pass(move || Box::new(borrow_as_ptr::BorrowAsPtr::new(msrv)));
874874
store.register_late_pass(move || Box::new(manual_bits::ManualBits::new(msrv)));
875875
store.register_late_pass(|| Box::new(default_union_representation::DefaultUnionRepresentation));
876-
store.register_late_pass(|| Box::new(only_used_in_recursion::OnlyUsedInRecursion));
876+
store.register_late_pass(|| Box::new(only_used_in_recursion::OnlyUsedInRecursion::default()));
877877
store.register_late_pass(|| Box::new(dbg_macro::DbgMacro));
878878
let cargo_ignore_publish = conf.cargo_ignore_publish;
879879
store.register_late_pass(move || {

0 commit comments

Comments
 (0)