Skip to content

Commit ecefd2c

Browse files
committed
Update lib.rs
1 parent 7b44bb4 commit ecefd2c

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
@@ -774,6 +774,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
774774
store.register_late_pass(move || Box::new(if_then_panic::IfThenPanic));
775775
let enable_raw_pointer_heuristic_for_send = conf.enable_raw_pointer_heuristic_for_send;
776776
store.register_late_pass(move || Box::new(non_send_fields_in_send_ty::NonSendFieldInSendTy::new(enable_raw_pointer_heuristic_for_send)));
777+
store.register_late_pass(move || Box::new(undocumented_unsafe_blocks::UndocumentedUnsafeBlocks::default()));
777778
}
778779

779780
#[rustfmt::skip]

0 commit comments

Comments
 (0)