diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-09-21 16:01:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-21 16:01:35 +0200 |
| commit | 97ca0737c6b63507945e9198177ebadf9d4eff82 (patch) | |
| tree | 931af44227c59522d720d6277caa4a411cbdf747 /src/libsyntax/parse/parser | |
| parent | 1486b7f91ce18962038ef36d2479e57e27a569ed (diff) | |
| parent | c3f72d1c098a61f26271021460b5ae420ff28ae8 (diff) | |
| download | rust-97ca0737c6b63507945e9198177ebadf9d4eff82.tar.gz rust-97ca0737c6b63507945e9198177ebadf9d4eff82.zip | |
Rollup merge of #64642 - cuviper:move-for-loop-snippet, r=varkor
Fix the span used to suggest avoiding for-loop moves It was using the snippet from the "use" span, which often renders the same, but with closures that snippet is on the start of the closure where the value is captured. We should be using the snippet from the span where it was moved into the `for` loop, which is `move_span`. Fixes #64559.
Diffstat (limited to 'src/libsyntax/parse/parser')
0 files changed, 0 insertions, 0 deletions
