1
Fork 0

Make async gen fn an error

This commit is contained in:
Eric Holk 2023-11-29 16:59:06 -08:00
parent 7c43784cb0
commit f29b36d03e
No known key found for this signature in database
GPG key ID: 8EA6B43ED4CE0911
5 changed files with 34 additions and 0 deletions

View file

@ -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