]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Auto merge of #52959 - matthewjasper:closure-spans, r=pnkfelix
authorbors <bors@rust-lang.org>
Sun, 5 Aug 2018 09:17:24 +0000 (09:17 +0000)
committerbors <bors@rust-lang.org>
Sun, 5 Aug 2018 09:17:24 +0000 (09:17 +0000)
commit9f9ac89d11a2afaeaa029738b38142124684c89b
tree0d9fcf71b1edf9f45ad14dd9c666dbccb5850444
parentb47c314c5652c8ecc3f086b0326f467b857b9d5b
parent12af36a5c4638755be622c220efadffb1864f2ab
Auto merge of #52959 - matthewjasper:closure-spans, r=pnkfelix

[NLL] Use smaller spans for errors involving closure captures

Closes #51170
Closes #46599

Error messages involving closures now point to the captured variable/closure args.

r? @pnkfelix