Remove unnecessary lifetime from FeaturePreviouslyDeclared
.
This commit is contained in:
parent
d0be42d9f0
commit
c1121f8590
1 changed files with 2 additions and 2 deletions
|
@ -1012,12 +1012,12 @@ pub(crate) struct FeatureStableTwice {
|
|||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(passes_feature_previously_declared, code = E0711)]
|
||||
pub(crate) struct FeaturePreviouslyDeclared<'a, 'b> {
|
||||
pub(crate) struct FeaturePreviouslyDeclared<'a> {
|
||||
#[primary_span]
|
||||
pub span: Span,
|
||||
pub feature: Symbol,
|
||||
pub declared: &'a str,
|
||||
pub prev_declared: &'b str,
|
||||
pub prev_declared: &'a str,
|
||||
}
|
||||
|
||||
pub(crate) struct BreakNonLoop<'a> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue