remove movability from RigidTy::Coroutine and AggregateKind::Coroutine

This commit is contained in:
Makai
2025-07-24 18:26:08 +08:00
parent 3c30dbbe31
commit 642deb3c8f
7 changed files with 8 additions and 14 deletions

View File

@@ -166,7 +166,7 @@ impl Visitable for RigidTy {
}
RigidTy::Adt(_, args)
| RigidTy::Closure(_, args)
| RigidTy::Coroutine(_, args, _)
| RigidTy::Coroutine(_, args)
| RigidTy::CoroutineWitness(_, args)
| RigidTy::CoroutineClosure(_, args)
| RigidTy::FnDef(_, args) => args.visit(visitor),