diff --git a/gcc/rust/parse/rust-parse-impl.h b/gcc/rust/parse/rust-parse-impl.h index 12c34d98956f..46f00bc1881f 100644 --- a/gcc/rust/parse/rust-parse-impl.h +++ b/gcc/rust/parse/rust-parse-impl.h @@ -5784,6 +5784,8 @@ Parser::parse_trait_impl_item () // function or method return parse_trait_impl_function_or_method (visibility, std::move (outer_attrs)); + case ASYNC: + return parse_async_item (visibility, std::move (outer_attrs)); case CONST: // lookahead to resolve production - could be function/method or const // item