about summary refs log tree commit diff
path: root/src/rustllvm/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2018-12-24 15:29:40 +0100
committerDavid Wood <david@davidtw.co>2018-12-26 21:55:45 +0100
commitfcad2094497519989327e372c09f9470bac7f957 (patch)
tree178c94e934dfb380561272d08a7a4f1bcffef5d5 /src/rustllvm/ArchiveWrapper.cpp
parent79d8a0fcefa5134db2a94739b1d18daa01fc6e9f (diff)
downloadrust-fcad2094497519989327e372c09f9470bac7f957.tar.gz
rust-fcad2094497519989327e372c09f9470bac7f957.zip
Add closure cannot be moved note.
This commit extends existing logic for checking whether a closure that
is `FnOnce` and therefore moves variables that it captures from the
environment has already been invoked when being invoked again.

Now, this logic will also check whether the closure is being moved after
previously being moved or invoked and add an appropriate note.
Diffstat (limited to 'src/rustllvm/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions