Suggest quoting unquoted idents in attrs
This commit is contained in:
parent
6029085a6f
commit
aa8ecd0652
8 changed files with 107 additions and 6 deletions
|
@ -407,6 +407,9 @@ parse_invalid_logical_operator = `{$incorrect}` is not a logical operator
|
|||
|
||||
parse_invalid_meta_item = expected unsuffixed literal or identifier, found `{$token}`
|
||||
|
||||
parse_invalid_meta_item_unquoted_ident = expected unsuffixed literal, found `{$token}`
|
||||
.suggestion = surround the identifier with quotation marks to parse it as a string
|
||||
|
||||
parse_invalid_offset_of = offset_of expects dot-separated field and variant names
|
||||
|
||||
parse_invalid_unicode_escape = invalid unicode character escape
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue