1
Fork 0

Recover from incorrectly ordered/duplicated function keywords

This commit is contained in:
clubby789 2023-10-27 13:22:10 +00:00
parent 54e57e66ff
commit be0b42fabe
14 changed files with 136 additions and 11 deletions

View file

@ -3,3 +3,4 @@
pub async const fn x() {}
//~^ ERROR expected one of `extern`, `fn`, or `unsafe`, found keyword `const`
//~| ERROR functions cannot be both `const` and `async`