summary refs log tree commit diff
path: root/src/test/ui/suggestions/nested-non-tuple-tuple-struct.stderr
AgeCommit message (Collapse)AuthorLines
2021-09-01Ensure suggestion is in its own diagnostic windowNoah Lev-32/+48
For two reasons: 1. Now that the suggestion span has been corrected, the output is a bit cluttered and hard to read. Putting the suggestion its own window creates more space. 2. It's easier to see what's being suggested, since now the version after the suggestion is applied is shown.
2021-09-01Fix span used for structured tuple struct suggestionNoah Lev-0/+100
(And same for tuple variants.) Previously, the span was just for the constructor name, which meant it would result in syntactically-invalid code when applied. Now, the span is for the entire expression.