Warn on elided lifetimes in associated constants
This commit is contained in:
parent
6ef7d16be0
commit
fad7d220fd
8 changed files with 178 additions and 25 deletions
|
@ -572,6 +572,10 @@ pub enum BuiltinLintDiagnostics {
|
|||
/// The span of the unnecessarily-qualified path to remove.
|
||||
removal_span: Span,
|
||||
},
|
||||
AssociatedConstElidedLifetime {
|
||||
elided: bool,
|
||||
span: Span,
|
||||
},
|
||||
}
|
||||
|
||||
/// Lints that are buffered up early on in the `Session` before the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue