@@ -70,14 +70,14 @@ declare_lint! {
7070}
7171
7272declare_lint ! {
73- /// The `hidden_lifetimes_in_input_paths2 ` lint detects the use of
73+ /// The `hidden_lifetimes_in_input_paths ` lint detects the use of
7474 /// hidden lifetime parameters in types occurring as a function
7575 /// argument.
7676 ///
7777 /// ### Example
7878 ///
7979 /// ```rust,compile_fail
80- /// #![deny(hidden_lifetimes_in_input_paths2 )]
80+ /// #![deny(hidden_lifetimes_in_input_paths )]
8181 ///
8282 /// struct ContainsLifetime<'a>(&'a i32);
8383 ///
@@ -99,20 +99,20 @@ declare_lint! {
9999 /// themselves do not usually cause much confusion.
100100 ///
101101 /// [placeholder lifetime]: https://doc.rust-lang.org/reference/lifetime-elision.html#lifetime-elision-in-functions
102- pub HIDDEN_LIFETIMES_IN_INPUT_PATHS2 ,
102+ pub HIDDEN_LIFETIMES_IN_INPUT_PATHS ,
103103 Allow ,
104104 "hidden lifetime parameters in types in function arguments may be confusing"
105105}
106106
107107declare_lint ! {
108- /// The `hidden_lifetimes_in_output_paths2 ` lint detects the use
108+ /// The `hidden_lifetimes_in_output_paths ` lint detects the use
109109 /// of hidden lifetime parameters in types occurring as a function
110110 /// return value.
111111 ///
112112 /// ### Example
113113 ///
114114 /// ```rust,compile_fail
115- /// #![deny(hidden_lifetimes_in_input_paths2 )]
115+ /// #![deny(hidden_lifetimes_in_input_paths )]
116116 ///
117117 /// struct ContainsLifetime<'a>(&'a i32);
118118 ///
@@ -137,15 +137,15 @@ declare_lint! {
137137 /// lifetime].
138138 ///
139139 /// [placeholder lifetime]: https://doc.rust-lang.org/reference/lifetime-elision.html#lifetime-elision-in-functions
140- pub HIDDEN_LIFETIMES_IN_OUTPUT_PATHS2 ,
140+ pub HIDDEN_LIFETIMES_IN_OUTPUT_PATHS ,
141141 Allow ,
142142 "hidden lifetime parameters in types in function return values are deprecated"
143143}
144144
145145declare_lint_pass ! ( LifetimeStyle => [
146146 MISMATCHED_LIFETIME_SYNTAXES ,
147- HIDDEN_LIFETIMES_IN_INPUT_PATHS2 ,
148- HIDDEN_LIFETIMES_IN_OUTPUT_PATHS2 ,
147+ HIDDEN_LIFETIMES_IN_INPUT_PATHS ,
148+ HIDDEN_LIFETIMES_IN_OUTPUT_PATHS ,
149149] ) ;
150150
151151impl < ' tcx > LateLintPass < ' tcx > for LifetimeStyle {
@@ -171,8 +171,8 @@ impl<'tcx> LateLintPass<'tcx> for LifetimeStyle {
171171 }
172172
173173 report_mismatches ( cx, & input_map, & output_map) ;
174- report_hidden_in_paths ( cx, & input_map, HIDDEN_LIFETIMES_IN_INPUT_PATHS2 ) ;
175- report_hidden_in_paths ( cx, & output_map, HIDDEN_LIFETIMES_IN_OUTPUT_PATHS2 ) ;
174+ report_hidden_in_paths ( cx, & input_map, HIDDEN_LIFETIMES_IN_INPUT_PATHS ) ;
175+ report_hidden_in_paths ( cx, & output_map, HIDDEN_LIFETIMES_IN_OUTPUT_PATHS ) ;
176176 }
177177}
178178
@@ -454,14 +454,14 @@ impl<'a, 'tcx> Visitor<'tcx> for LifetimeInfoCollector<'a, 'tcx> {
454454}
455455
456456declare_lint ! {
457- /// The `hidden_lifetimes_in_type_paths2 ` lint detects the use of
457+ /// The `hidden_lifetimes_in_type_paths ` lint detects the use of
458458 /// hidden lifetime parameters in types not part of a function's
459459 /// arguments or return values.
460460 ///
461461 /// ### Example
462462 ///
463463 /// ```rust,compile_fail
464- /// #![deny(hidden_lifetimes_in_input_paths2 )]
464+ /// #![deny(hidden_lifetimes_in_input_paths )]
465465 ///
466466 /// struct ContainsLifetime<'a>(&'a i32);
467467 ///
@@ -480,7 +480,7 @@ declare_lint! {
480480 /// lifetime].
481481 ///
482482 /// [placeholder lifetime]: https://doc.rust-lang.org/reference/lifetime-elision.html#lifetime-elision-in-functions
483- pub HIDDEN_LIFETIMES_IN_TYPE_PATHS2 ,
483+ pub HIDDEN_LIFETIMES_IN_TYPE_PATHS ,
484484 Allow ,
485485 "hidden lifetime parameters in types outside function signatures are discouraged"
486486}
@@ -490,7 +490,7 @@ pub(crate) struct HiddenLifetimesInTypePaths {
490490 inside_fn_signature : bool ,
491491}
492492
493- impl_lint_pass ! ( HiddenLifetimesInTypePaths => [ HIDDEN_LIFETIMES_IN_TYPE_PATHS2 ] ) ;
493+ impl_lint_pass ! ( HiddenLifetimesInTypePaths => [ HIDDEN_LIFETIMES_IN_TYPE_PATHS ] ) ;
494494
495495impl < ' tcx > LateLintPass < ' tcx > for HiddenLifetimesInTypePaths {
496496 #[ instrument( skip( self , cx) ) ]
@@ -533,7 +533,7 @@ impl<'tcx> LateLintPass<'tcx> for HiddenLifetimesInTypePaths {
533533 }
534534
535535 cx. emit_span_lint (
536- HIDDEN_LIFETIMES_IN_TYPE_PATHS2 ,
536+ HIDDEN_LIFETIMES_IN_TYPE_PATHS ,
537537 ty. span ,
538538 lints:: HiddenLifetimeInPath {
539539 suggestions : lints:: HiddenLifetimeInPathSuggestion { suggestions } ,
0 commit comments