diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-01-23 13:31:11 +0100 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-02-08 12:16:30 +0100 |
| commit | c8041dd8ac780425f880e5e4e00d055e3bd0bece (patch) | |
| tree | 064b83242068272c751b6521101953e400460b73 /src/rustllvm/RustWrapper.cpp | |
| parent | 1855ab742458cc4359e27deadbdf3d8747ce361d (diff) | |
| download | rust-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
