migrate recover_from_await_method_call
diagnostic
This commit is contained in:
parent
29ed9a56e3
commit
93a427e3ca
2 changed files with 14 additions and 8 deletions
|
@ -23,3 +23,7 @@ parser-incorrect-semicolon =
|
|||
expected item, found `;`
|
||||
.suggestion = remove this semicolon
|
||||
.help = {$name} declarations are not followed by a semicolon
|
||||
|
||||
parser-incorrect-use-of-await =
|
||||
incorrect use of `await`
|
||||
.suggestion = `await` is not a method call, remove the parentheses
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue