summary refs log tree commit diff
path: root/src/test/ui/suggestions/nested-non-tuple-tuple-struct.rs
AgeCommit message (Collapse)AuthorLines
2021-09-01Fix span used for structured tuple struct suggestionNoah Lev-0/+18
(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.