about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorAyaz Hafiz <ayaz.hafiz.1@gmail.com>2020-08-15 13:34:06 -0700
committerCaleb Cartwright <calebcartwright@users.noreply.github.com>2020-11-14 11:50:28 -0600
commitce13ff15c33da1e31931ba4bc692709be3a2cf30 (patch)
treecf4f70b41a601ecf95906a44b7dd61212ecbd828 /src/test/incremental/thinlto
parentdd32de74ce4911bdf46621d53ed72cfc6071d8ed (diff)
downloadrust-ce13ff15c33da1e31931ba4bc692709be3a2cf30.tar.gz
rust-ce13ff15c33da1e31931ba4bc692709be3a2cf30.zip
Correctly create artificial span for formatting closure body
This commit partially reverts #3934, opting to create a span that covers
the entire body of a closure when formatting a closure body with a
block-formatting strategy, rather than having the block-formatting code
determine if the visitor pointer should be rewound. The problem with
rewinding the visitor pointer is it may be incorrect for other (i.e.
non-artificial) AST nodes, as in the case of #4382.

Closes #4382
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions