about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2018-01-23 13:31:11 +0100
committerFelix S. Klock II <pnkfelix@pnkfx.org>2018-02-08 12:16:30 +0100
commitc8041dd8ac780425f880e5e4e00d055e3bd0bece (patch)
tree064b83242068272c751b6521101953e400460b73 /src/rustllvm/RustWrapper.cpp
parent1855ab742458cc4359e27deadbdf3d8747ce361d (diff)
downloadrust-c8041dd8ac780425f880e5e4e00d055e3bd0bece.tar.gz
rust-c8041dd8ac780425f880e5e4e00d055e3bd0bece.zip
Add `AutoBorrowMutability`; its like `hir::Mutability` but w/ two-phase borrow info too.
Namely, the mutable borrows also carries a flag indicating whether
they should support two-phase borrows.

This allows us to thread down, from the point of the borrow's
introduction, whether the particular adjustment that created it is one
that yields two-phase mutable borrows.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions