diff options
| author | David Wood <david@davidtw.co> | 2018-12-24 15:29:40 +0100 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2018-12-26 21:55:45 +0100 |
| commit | fcad2094497519989327e372c09f9470bac7f957 (patch) | |
| tree | 178c94e934dfb380561272d08a7a4f1bcffef5d5 /src/rustllvm/RustWrapper.cpp | |
| parent | 79d8a0fcefa5134db2a94739b1d18daa01fc6e9f (diff) | |
| download | rust-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/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
