about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorBrian Koropoff <bkoropoff@gmail.com>2014-10-01 23:52:19 -0700
committerBrian Koropoff <bkoropoff@gmail.com>2014-10-02 21:08:45 -0700
commit931f59f214f68bf2a5656d605cb200f22d47cdf8 (patch)
treea9cfaaa745ab013dae4e6c089d6ba0b44104b17e /src/rustllvm/RustWrapper.cpp
parent4e5666eace14651539ca2a1f5eed8cdf0ccfb130 (diff)
downloadrust-931f59f214f68bf2a5656d605cb200f22d47cdf8.tar.gz
rust-931f59f214f68bf2a5656d605cb200f22d47cdf8.zip
Fix categorization of upvars of capture-by-reference unboxed closures
In particular, this causes mutation of an upvar to correctly mark
it as mutable during adjustment.  This makes borrowck correctly
flag conflicting borrows, etc.

We still seem to generate incorrect code in trans which copies the upvar
by value into the closure.  This remains to be fixed.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions