1
Fork 0

elided_named_lifetimes: add suggestions

This commit is contained in:
Pavel Grigorenko 2024-09-01 03:42:18 +03:00
parent e38764d73b
commit dcfc71310d
23 changed files with 166 additions and 16 deletions

View file

@ -2627,7 +2627,7 @@ pub(crate) struct ElidedLifetimesInPaths {
#[diag(lint_elided_named_lifetime)]
pub(crate) struct ElidedNamedLifetime {
#[label(lint_label_elided)]
pub elided: Span,
pub span: Span,
pub name: Symbol,
#[label(lint_label_named)]
pub named_declaration: Option<Span>,