Make async gen fn an error
This commit is contained in:
parent
7c43784cb0
commit
f29b36d03e
5 changed files with 34 additions and 0 deletions
|
@ -23,6 +23,8 @@ parse_async_block_in_2015 = `async` blocks are only allowed in Rust 2018 or late
|
|||
parse_async_fn_in_2015 = `async fn` is not permitted in Rust 2015
|
||||
.label = to use `async fn`, switch to Rust 2018 or later
|
||||
|
||||
parse_async_gen_fn = `async gen` functions are not supported
|
||||
|
||||
parse_async_move_block_in_2015 = `async move` blocks are only allowed in Rust 2018 or later
|
||||
|
||||
parse_async_move_order_incorrect = the order of `move` and `async` is incorrect
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue