Better error message in ed 2015
This commit is contained in:
parent
cd2fd34ca6
commit
54db272cc9
6 changed files with 76 additions and 24 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue