reword the message to suggest surrounding with parentheses
This commit is contained in:
parent
3983881d4e
commit
e3071eaa60
4 changed files with 10 additions and 7 deletions
|
@ -695,7 +695,7 @@ parse_struct_literal_body_without_path =
|
|||
|
||||
parse_struct_literal_needing_parens =
|
||||
invalid struct literal
|
||||
.suggestion = you might need to surround the struct literal in parentheses
|
||||
.suggestion = you might need to surround the struct literal with parentheses
|
||||
|
||||
parse_struct_literal_not_allowed_here = struct literals are not allowed here
|
||||
.suggestion = surround the struct literal with parentheses
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue