Stop using a special inner body for the coroutine by-move body for async closures
This commit is contained in:
@@ -2174,7 +2174,8 @@ fn lint_redundant_lifetimes<'tcx>(
|
||||
| DefKind::Field
|
||||
| DefKind::LifetimeParam
|
||||
| DefKind::GlobalAsm
|
||||
| DefKind::Closure => return,
|
||||
| DefKind::Closure
|
||||
| DefKind::SyntheticCoroutineBody => return,
|
||||
}
|
||||
|
||||
// The ordering of this lifetime map is a bit subtle.
|
||||
|
||||
Reference in New Issue
Block a user