Resolve elided lifetimes in assoc const to static if no other lifetimes are in scope
This commit is contained in:
parent
f9515fdd5a
commit
4f97ab54c4
11 changed files with 101 additions and 115 deletions
|
@ -2865,6 +2865,8 @@ pub struct AssociatedConstElidedLifetime {
|
|||
|
||||
pub code: &'static str,
|
||||
pub elided: bool,
|
||||
#[note]
|
||||
pub lifetimes_in_scope: MultiSpan,
|
||||
}
|
||||
|
||||
#[derive(LintDiagnostic)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue