Initial implementation

This commit is contained in:
Yechan Bae
2021-09-23 03:51:10 -04:00
parent fe999e88ed
commit e4c3000e5b
7 changed files with 225 additions and 0 deletions

View File

@@ -535,6 +535,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
store.register_late_pass(move || Box::new(feature_name::FeatureName));
store.register_late_pass(move || Box::new(iter_not_returning_iterator::IterNotReturningIterator));
store.register_late_pass(move || Box::new(if_then_panic::IfThenPanic));
store.register_late_pass(|| Box::new(non_send_field_in_send_ty::NonSendFieldInSendTy));
}
#[rustfmt::skip]