1
Fork 0

Rename some more coro_kind -> coroutine_kind

This commit is contained in:
Michael Goulet 2023-12-08 21:46:30 +00:00
parent d5dcd85376
commit 384a49edd0
3 changed files with 9 additions and 8 deletions

View file

@ -541,8 +541,8 @@ fn check_test_signature(
return Err(sd.emit_err(errors::TestBadFn { span: i.span, cause: span, kind: "unsafe" }));
}
if let Some(coro_kind) = f.sig.header.coroutine_kind {
match coro_kind {
if let Some(coroutine_kind) = f.sig.header.coroutine_kind {
match coroutine_kind {
ast::CoroutineKind::Async { span, .. } => {
return Err(sd.emit_err(errors::TestBadFn {
span: i.span,