about summary refs log tree commit diff
path: root/src/liballoc_system
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2017-05-31 10:52:45 -0600
committerGitHub <noreply@github.com>2017-05-31 10:52:45 -0600
commitb851d1cdb47b5961a4b37b0645232a18e122663f (patch)
tree82d2b94279f3e0b9e33925389f06f53a33b7693c /src/liballoc_system
parentd5a7fd585fd3f0e98c99db74cf5071efdbd1a59a (diff)
parentc2f7e945526bff3b7d812137d81b235263060ee8 (diff)
downloadrust-b851d1cdb47b5961a4b37b0645232a18e122663f.tar.gz
rust-b851d1cdb47b5961a4b37b0645232a18e122663f.zip
Rollup merge of #42196 - tommyip:explain_closure_err, r=nikomatsakis
Explain why a closure is `FnOnce` in closure errors.

Issue: #42065
@nikomatsakis Am I going the right direction with this?

~~I am stuck in a few bits:~~
~~1. How to trace the code to get the upvar instead of the original variable's span?~~
~~2. How to find the node id of the upvar where the move occured?~~
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions