1
Fork 0

Better error message in ed 2015

This commit is contained in:
Michael Goulet 2024-01-26 17:15:43 +00:00
parent cd2fd34ca6
commit 54db272cc9
6 changed files with 76 additions and 24 deletions

View file

@ -22,6 +22,8 @@ parse_associated_static_item_not_allowed = associated `static` items are not all
parse_async_block_in_2015 = `async` blocks are only allowed in Rust 2018 or later
parse_async_bound_modifier_in_2015 = `async` trait bounds are only allowed in Rust 2018 or later
parse_async_fn_in_2015 = `async fn` is not permitted in Rust 2015
.label = to use `async fn`, switch to Rust 2018 or later