about summary refs log tree commit diff
path: root/src/test/ui/structs/struct-tuple-field-names.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-25/+0
2021-08-11Modify structured suggestion outputEsteban Küber-2/+2
* On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span
2021-02-20Fix suggestion span and move suggestions into new subwindow.Reese Williams-6/+12
2021-02-14Clarify error message and remove pretty printing in help suggestions.Reese Williams-3/+7
2021-01-20Improve suggestion for tuple struct pattern matching errors.Reese Williams-0/+15
Currently, when a user uses a struct pattern to pattern match on a tuple struct, the errors we emit generally suggest adding fields using their field names, which are numbers. However, numbers are not valid identifiers, so the suggestions, which use the shorthand notation, are not valid syntax. This commit changes those errors to suggest using the actual tuple struct pattern syntax instead, which is a more actionable suggestion.