1
Fork 0

Suggest quoting unquoted idents in attrs

This commit is contained in:
sjwang05 2023-12-26 18:34:44 -08:00
parent 6029085a6f
commit aa8ecd0652
No known key found for this signature in database
GPG key ID: 8725BCA68FE25D6C
8 changed files with 107 additions and 6 deletions

View file

@ -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