Skip to content

Commit c1121f8

Browse files
committed
Remove unnecessary lifetime from FeaturePreviouslyDeclared.
1 parent d0be42d commit c1121f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_passes/src/errors.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,12 +1012,12 @@ pub(crate) struct FeatureStableTwice {
10121012

10131013
#[derive(Diagnostic)]
10141014
#[diag(passes_feature_previously_declared, code = E0711)]
1015-
pub(crate) struct FeaturePreviouslyDeclared<'a, 'b> {
1015+
pub(crate) struct FeaturePreviouslyDeclared<'a> {
10161016
#[primary_span]
10171017
pub span: Span,
10181018
pub feature: Symbol,
10191019
pub declared: &'a str,
1020-
pub prev_declared: &'b str,
1020+
pub prev_declared: &'a str,
10211021
}
10221022

10231023
pub(crate) struct BreakNonLoop<'a> {

0 commit comments

Comments
 (0)