about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@mozilla.com>2014-07-30 13:36:21 -0700
committerCameron Zwarich <zwarich@mozilla.com>2014-07-30 13:36:21 -0700
commit3607c7a982c55a165adda8056cc228acf918bc37 (patch)
treeffd33ab87af7d82ebe61085cd43db134fc72016f /src/rustllvm/PassWrapper.cpp
parent8c4dbf3d4750feb47aec09b3f2df848e8f7b5469 (diff)
downloadrust-3607c7a982c55a165adda8056cc228acf918bc37.tar.gz
rust-3607c7a982c55a165adda8056cc228acf918bc37.zip
Implement RFC #43
Remove the ability of the borrow checker to determine that repeated
dereferences of a Box<T> refer to the same memory object. This will
usually require one of two workarounds:

1) The interior of a Box<T> will sometimes need to be moved / borrowed
into a temporary before moving / borrowing individual derived paths.

2) A `ref x` pattern will have to be replaced with a `box ref x`
pattern.

Fixes #16094.

[breaking-change]
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions