Remove movability from TyKind::Coroutine
This commit is contained in:
parent
f4d794ea0b
commit
fcb42b42d6
84 changed files with 212 additions and 220 deletions
|
@ -91,7 +91,7 @@ fn bcb_to_initial_coverage_spans<'a, 'tcx>(
|
|||
fn is_closure(statement: &Statement<'_>) -> bool {
|
||||
match statement.kind {
|
||||
StatementKind::Assign(box (_, Rvalue::Aggregate(box ref agg_kind, _))) => match agg_kind {
|
||||
AggregateKind::Closure(_, _) | AggregateKind::Coroutine(_, _, _) => true,
|
||||
AggregateKind::Closure(_, _) | AggregateKind::Coroutine(_, _) => true,
|
||||
_ => false,
|
||||
},
|
||||
_ => false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue