Rename some more coro_kind -> coroutine_kind
This commit is contained in:
parent
d5dcd85376
commit
384a49edd0
3 changed files with 9 additions and 8 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue