Remove unnecessary lifetime from FeaturePreviouslyDeclared.
This commit is contained in:
@@ -1012,12 +1012,12 @@ pub(crate) struct FeatureStableTwice {
|
|||||||
|
|
||||||
#[derive(Diagnostic)]
|
#[derive(Diagnostic)]
|
||||||
#[diag(passes_feature_previously_declared, code = E0711)]
|
#[diag(passes_feature_previously_declared, code = E0711)]
|
||||||
pub(crate) struct FeaturePreviouslyDeclared<'a, 'b> {
|
pub(crate) struct FeaturePreviouslyDeclared<'a> {
|
||||||
#[primary_span]
|
#[primary_span]
|
||||||
pub span: Span,
|
pub span: Span,
|
||||||
pub feature: Symbol,
|
pub feature: Symbol,
|
||||||
pub declared: &'a str,
|
pub declared: &'a str,
|
||||||
pub prev_declared: &'b str,
|
pub prev_declared: &'a str,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) struct BreakNonLoop<'a> {
|
pub(crate) struct BreakNonLoop<'a> {
|
||||||
|
|||||||
Reference in New Issue
Block a user