@@ -64,14 +64,14 @@ declare_lint! {
6464}
6565
6666declare_lint ! {
67- /// The `hidden_lifetimes_in_input_paths2 ` lint detects the use of
67+ /// The `hidden_lifetimes_in_input_paths ` lint detects the use of
6868 /// hidden lifetime parameters in types occurring as a function
6969 /// argument.
7070 ///
7171 /// ### Example
7272 ///
7373 /// ```rust,compile_fail
74- /// #![deny(hidden_lifetimes_in_input_paths2 )]
74+ /// #![deny(hidden_lifetimes_in_input_paths )]
7575 ///
7676 /// struct ContainsLifetime<'a>(&'a i32);
7777 ///
@@ -93,20 +93,20 @@ declare_lint! {
9393 /// themselves do not usually cause much confusion.
9494 ///
9595 /// [placeholder lifetime]: https://doc.rust-lang.org/reference/lifetime-elision.html#lifetime-elision-in-functions
96- pub HIDDEN_LIFETIMES_IN_INPUT_PATHS2 ,
96+ pub HIDDEN_LIFETIMES_IN_INPUT_PATHS ,
9797 Allow ,
9898 "hidden lifetime parameters in types in function arguments may be confusing"
9999}
100100
101101declare_lint ! {
102- /// The `hidden_lifetimes_in_output_paths2 ` lint detects the use
102+ /// The `hidden_lifetimes_in_output_paths ` lint detects the use
103103 /// of hidden lifetime parameters in types occurring as a function
104104 /// return value.
105105 ///
106106 /// ### Example
107107 ///
108108 /// ```rust,compile_fail
109- /// #![deny(hidden_lifetimes_in_input_paths2 )]
109+ /// #![deny(hidden_lifetimes_in_input_paths )]
110110 ///
111111 /// struct ContainsLifetime<'a>(&'a i32);
112112 ///
@@ -131,15 +131,15 @@ declare_lint! {
131131 /// lifetime].
132132 ///
133133 /// [placeholder lifetime]: https://doc.rust-lang.org/reference/lifetime-elision.html#lifetime-elision-in-functions
134- pub HIDDEN_LIFETIMES_IN_OUTPUT_PATHS2 ,
134+ pub HIDDEN_LIFETIMES_IN_OUTPUT_PATHS ,
135135 Allow ,
136136 "hidden lifetime parameters in types in function return values are deprecated"
137137}
138138
139139declare_lint_pass ! ( LifetimeStyle => [
140140 MISMATCHED_ELIDED_LIFETIME_STYLES ,
141- HIDDEN_LIFETIMES_IN_INPUT_PATHS2 ,
142- HIDDEN_LIFETIMES_IN_OUTPUT_PATHS2 ,
141+ HIDDEN_LIFETIMES_IN_INPUT_PATHS ,
142+ HIDDEN_LIFETIMES_IN_OUTPUT_PATHS ,
143143] ) ;
144144
145145impl < ' tcx > LateLintPass < ' tcx > for LifetimeStyle {
@@ -165,8 +165,8 @@ impl<'tcx> LateLintPass<'tcx> for LifetimeStyle {
165165 }
166166
167167 report_mismatches ( cx, & input_map, & output_map) ;
168- report_hidden_in_paths ( cx, & input_map, HIDDEN_LIFETIMES_IN_INPUT_PATHS2 ) ;
169- report_hidden_in_paths ( cx, & output_map, HIDDEN_LIFETIMES_IN_OUTPUT_PATHS2 ) ;
168+ report_hidden_in_paths ( cx, & input_map, HIDDEN_LIFETIMES_IN_INPUT_PATHS ) ;
169+ report_hidden_in_paths ( cx, & output_map, HIDDEN_LIFETIMES_IN_OUTPUT_PATHS ) ;
170170 }
171171}
172172
@@ -451,14 +451,14 @@ impl<'a, 'tcx> Visitor<'tcx> for LifetimeInfoCollector<'a, 'tcx> {
451451}
452452
453453declare_lint ! {
454- /// The `hidden_lifetimes_in_type_paths2 ` lint detects the use of
454+ /// The `hidden_lifetimes_in_type_paths ` lint detects the use of
455455 /// hidden lifetime parameters in types not part of a function's
456456 /// arguments or return values.
457457 ///
458458 /// ### Example
459459 ///
460460 /// ```rust,compile_fail
461- /// #![deny(hidden_lifetimes_in_input_paths2 )]
461+ /// #![deny(hidden_lifetimes_in_input_paths )]
462462 ///
463463 /// struct ContainsLifetime<'a>(&'a i32);
464464 ///
@@ -477,7 +477,7 @@ declare_lint! {
477477 /// lifetime].
478478 ///
479479 /// [placeholder lifetime]: https://doc.rust-lang.org/reference/lifetime-elision.html#lifetime-elision-in-functions
480- pub HIDDEN_LIFETIMES_IN_TYPE_PATHS2 ,
480+ pub HIDDEN_LIFETIMES_IN_TYPE_PATHS ,
481481 Allow ,
482482 "hidden lifetime parameters in types outside function signatures are discouraged"
483483}
@@ -487,7 +487,7 @@ pub(crate) struct HiddenLifetimesInTypePaths {
487487 inside_fn_signature : bool ,
488488}
489489
490- impl_lint_pass ! ( HiddenLifetimesInTypePaths => [ HIDDEN_LIFETIMES_IN_TYPE_PATHS2 ] ) ;
490+ impl_lint_pass ! ( HiddenLifetimesInTypePaths => [ HIDDEN_LIFETIMES_IN_TYPE_PATHS ] ) ;
491491
492492impl < ' tcx > LateLintPass < ' tcx > for HiddenLifetimesInTypePaths {
493493 #[ instrument( skip( self , cx) ) ]
@@ -529,7 +529,7 @@ impl<'tcx> LateLintPass<'tcx> for HiddenLifetimesInTypePaths {
529529 }
530530
531531 cx. emit_span_lint (
532- HIDDEN_LIFETIMES_IN_TYPE_PATHS2 ,
532+ HIDDEN_LIFETIMES_IN_TYPE_PATHS ,
533533 ty. span ,
534534 lints:: HiddenLifetimeInPath {
535535 suggestions : lints:: HiddenLifetimeInPathSuggestion { suggestions } ,
0 commit comments