@@ -275,6 +275,7 @@ pub mod slow_vector_initialization;
275
275
pub mod strings;
276
276
pub mod suspicious_trait_impl;
277
277
pub mod swap;
278
+ pub mod tabs_in_doc_comments;
278
279
pub mod temporary_assignment;
279
280
pub mod to_digit_is_some;
280
281
pub mod trait_bounds;
@@ -717,6 +718,7 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
717
718
& suspicious_trait_impl:: SUSPICIOUS_OP_ASSIGN_IMPL ,
718
719
& swap:: ALMOST_SWAPPED ,
719
720
& swap:: MANUAL_SWAP ,
721
+ & tabs_in_doc_comments:: TABS_IN_DOC_COMMENTS ,
720
722
& temporary_assignment:: TEMPORARY_ASSIGNMENT ,
721
723
& to_digit_is_some:: TO_DIGIT_IS_SOME ,
722
724
& trait_bounds:: TYPE_REPETITION_IN_BOUNDS ,
@@ -947,6 +949,7 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
947
949
store. register_early_pass ( || box utils:: internal_lints:: ClippyLintsInternal ) ;
948
950
let enum_variant_name_threshold = conf. enum_variant_name_threshold ;
949
951
store. register_early_pass ( move || box enum_variants:: EnumVariantNames :: new ( enum_variant_name_threshold) ) ;
952
+ store. register_early_pass ( || box tabs_in_doc_comments:: TabsInDocComments ) ;
950
953
store. register_late_pass ( || box unused_self:: UnusedSelf ) ;
951
954
store. register_late_pass ( || box mutable_debug_assertion:: DebugAssertWithMutCall ) ;
952
955
store. register_late_pass ( || box exit:: Exit ) ;
@@ -1244,6 +1247,7 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
1244
1247
LintId :: of( & suspicious_trait_impl:: SUSPICIOUS_OP_ASSIGN_IMPL ) ,
1245
1248
LintId :: of( & swap:: ALMOST_SWAPPED ) ,
1246
1249
LintId :: of( & swap:: MANUAL_SWAP ) ,
1250
+ LintId :: of( & tabs_in_doc_comments:: TABS_IN_DOC_COMMENTS ) ,
1247
1251
LintId :: of( & temporary_assignment:: TEMPORARY_ASSIGNMENT ) ,
1248
1252
LintId :: of( & to_digit_is_some:: TO_DIGIT_IS_SOME ) ,
1249
1253
LintId :: of( & transmute:: CROSSPOINTER_TRANSMUTE ) ,
@@ -1371,6 +1375,7 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
1371
1375
LintId :: of( & returns:: NEEDLESS_RETURN ) ,
1372
1376
LintId :: of( & returns:: UNUSED_UNIT ) ,
1373
1377
LintId :: of( & strings:: STRING_LIT_AS_BYTES ) ,
1378
+ LintId :: of( & tabs_in_doc_comments:: TABS_IN_DOC_COMMENTS ) ,
1374
1379
LintId :: of( & to_digit_is_some:: TO_DIGIT_IS_SOME ) ,
1375
1380
LintId :: of( & try_err:: TRY_ERR ) ,
1376
1381
LintId :: of( & types:: FN_TO_NUMERIC_CAST ) ,
0 commit comments