about summary refs log tree commit diff
path: root/src/test/codegen/align-enum.rs
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2021-09-01 20:11:05 -0700
committerNoah Lev <camelidcamel@gmail.com>2021-09-01 20:17:15 -0700
commitd2b13ba46694b73cf2cd64b3a18c3abd55983f2b (patch)
treee7050d44a8df46580b0784af740eea05b6b3f5fe /src/test/codegen/align-enum.rs
parent50171c310cd15e1b2d3723766ce64e2e4d6696fc (diff)
Fix span used for structured tuple struct suggestion
(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.
Diffstat (limited to 'src/test/codegen/align-enum.rs')
0 files changed, 0 insertions, 0 deletions