Fix suggestion when shorthand self has erroneous type
This commit is contained in:
parent
96e51d9482
commit
05c34cc5ed
6 changed files with 127 additions and 1 deletions
|
@ -343,6 +343,9 @@ parse_incorrect_semicolon =
|
|||
.suggestion = remove this semicolon
|
||||
.help = {$name} declarations are not followed by a semicolon
|
||||
|
||||
parse_incorrect_type_on_self = type not allowed for shorthand `self` parameter
|
||||
.suggestion = move the modifiers on `self` to the type
|
||||
|
||||
parse_incorrect_use_of_await = incorrect use of `await`
|
||||
.parentheses_suggestion = `await` is not a method call, remove the parentheses
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue