about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNick Cameron <ncameron@mozilla.com>2014-09-01 16:14:56 +1200
committerNick Cameron <ncameron@mozilla.com>2014-09-03 08:29:33 +1200
commite9bd650cad7c519e3f39b8bbed5afeac94daff05 (patch)
tree0d22115081fa8919e4279d942eb689e9f80ab7b1 /src/rustllvm/RustWrapper.cpp
parentdfbd4669cd0ce6298b5cee7d4b5e1585d8228daa (diff)
downloadrust-e9bd650cad7c519e3f39b8bbed5afeac94daff05.tar.gz
rust-e9bd650cad7c519e3f39b8bbed5afeac94daff05.zip
Schedule cleanup for &* on fat owned pointers
For example `let _x: &Trait = &*(box Foo as Box<Trait>);`. There was a bug where no cleanup would be scheduled by the deref.

No test because cleanup-auto-borrow-obj.rs is a test for this once we remove trait cross-borrowing (done on another branch).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions