about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2014-01-17 08:10:42 -0500
committerNiko Matsakis <niko@alum.mit.edu>2014-01-17 08:10:42 -0500
commit8f16356e5fb1a86bf2239a6bd51c3dda11155d1e (patch)
treeb73c857f5a67f72452072e0d36dc41543249a488 /src/rustllvm/RustWrapper.cpp
parent56f4d1831a65b9739d38c2754f65b641b4e0d6b8 (diff)
downloadrust-8f16356e5fb1a86bf2239a6bd51c3dda11155d1e.tar.gz
rust-8f16356e5fb1a86bf2239a6bd51c3dda11155d1e.zip
Extend temporary lifetimes if there is a ref in an enum binding
too.

Previously I had omitted this case since function calls don't get the same
treatment on the RHS, but it's different on the pattern and is more consistent
-- the goal is to identify `let` statements where `ref` bindings create
interior pointers.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions