Fix bad span for explicit lifetime suggestion
Move verbose logic to a function Minor renaming
This commit is contained in:
@@ -1305,7 +1305,7 @@ fn compare_number_of_generics<'tcx>(
|
||||
.iter()
|
||||
.filter(|p| match p.kind {
|
||||
hir::GenericParamKind::Lifetime {
|
||||
kind: hir::LifetimeParamKind::Elided,
|
||||
kind: hir::LifetimeParamKind::Elided(_),
|
||||
} => {
|
||||
// A fn can have an arbitrary number of extra elided lifetimes for the
|
||||
// same signature.
|
||||
|
||||
Reference in New Issue
Block a user