1
Fork 0

Rename CoroutineKind::Gen to ::Coroutine

This commit is contained in:
Oli Scherer 2023-10-20 09:02:22 +00:00
parent e96ce20b34
commit 2d91c76d5d
14 changed files with 29 additions and 25 deletions

View file

@ -1043,7 +1043,7 @@ impl<'tcx> Visitor<'tcx> for Checker<'_, 'tcx> {
TerminatorKind::InlineAsm { .. } => self.check_op(ops::InlineAsm),
TerminatorKind::CoroutineDrop | TerminatorKind::Yield { .. } => {
self.check_op(ops::Coroutine(hir::CoroutineKind::Gen))
self.check_op(ops::Coroutine(hir::CoroutineKind::Coroutine))
}
TerminatorKind::UnwindTerminate(_) => {