Rename CoroutineKind::Gen
to ::Coroutine
This commit is contained in:
parent
e96ce20b34
commit
2d91c76d5d
14 changed files with 29 additions and 25 deletions
|
@ -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(_) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue