We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
FeaturePreviouslyDeclared
1 parent d0be42d commit c1121f8Copy full SHA for c1121f8
compiler/rustc_passes/src/errors.rs
@@ -1012,12 +1012,12 @@ pub(crate) struct FeatureStableTwice {
1012
1013
#[derive(Diagnostic)]
1014
#[diag(passes_feature_previously_declared, code = E0711)]
1015
-pub(crate) struct FeaturePreviouslyDeclared<'a, 'b> {
+pub(crate) struct FeaturePreviouslyDeclared<'a> {
1016
#[primary_span]
1017
pub span: Span,
1018
pub feature: Symbol,
1019
pub declared: &'a str,
1020
- pub prev_declared: &'b str,
+ pub prev_declared: &'a str,
1021
}
1022
1023
pub(crate) struct BreakNonLoop<'a> {
0 commit comments