use subdiagnostic for logical negation, bitwise not
This commit is contained in:
parent
f43562b95b
commit
484b612909
3 changed files with 40 additions and 12 deletions
|
@ -55,7 +55,9 @@ parser_tilde_is_not_unary_operator = `~` cannot be used as a unary operator
|
|||
.suggestion = use `!` to perform bitwise not
|
||||
|
||||
parser_unexpected_token_after_not = unexpected {$negated_desc} after identifier
|
||||
.suggestion = use `!` to perform {$negated_msg}
|
||||
parser_unexpected_token_after_not_bitwise = use `!` to perform bitwise not
|
||||
parser_unexpected_token_after_not_logical = use `!` to perform logical negation
|
||||
parser_unexpected_token_after_not_default = use `!` to perform logical negation or bitwise not
|
||||
|
||||
parser_malformed_loop_label = malformed loop label
|
||||
.suggestion = use the correct loop label format
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue