@@ -314,6 +314,7 @@ mod transmuting_null;
314314mod trivially_copy_pass_by_ref;
315315mod try_err;
316316mod types;
317+ mod undropped_manually_drops;
317318mod unicode;
318319mod unit_return_expecting_ord;
319320mod unnamed_address;
@@ -862,6 +863,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
862863 & types:: UNIT_CMP ,
863864 & types:: UNNECESSARY_CAST ,
864865 & types:: VEC_BOX ,
866+ & undropped_manually_drops:: UNDROPPED_MANUALLY_DROPS ,
865867 & unicode:: INVISIBLE_CHARACTERS ,
866868 & unicode:: NON_ASCII_LITERAL ,
867869 & unicode:: UNICODE_NOT_NFC ,
@@ -1137,6 +1139,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
11371139 store. register_late_pass ( move || box disallowed_method:: DisallowedMethod :: new ( & disallowed_methods) ) ;
11381140 store. register_early_pass ( || box asm_syntax:: InlineAsmX86AttSyntax ) ;
11391141 store. register_early_pass ( || box asm_syntax:: InlineAsmX86IntelSyntax ) ;
1142+ store. register_late_pass ( || box undropped_manually_drops:: UndroppedManuallyDrops ) ;
11401143
11411144
11421145 store. register_group ( true , "clippy::restriction" , Some ( "clippy_restriction" ) , vec ! [
@@ -1790,6 +1793,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
17901793 LintId :: of( & types:: ABSURD_EXTREME_COMPARISONS ) ,
17911794 LintId :: of( & types:: CAST_REF_TO_MUT ) ,
17921795 LintId :: of( & types:: UNIT_CMP ) ,
1796+ LintId :: of( & undropped_manually_drops:: UNDROPPED_MANUALLY_DROPS ) ,
17931797 LintId :: of( & unicode:: INVISIBLE_CHARACTERS ) ,
17941798 LintId :: of( & unit_return_expecting_ord:: UNIT_RETURN_EXPECTING_ORD ) ,
17951799 LintId :: of( & unnamed_address:: FN_ADDRESS_COMPARISONS ) ,
0 commit comments