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-16 10:52:52 +0100
committerFelix S. Klock II <pnkfelix@pnkfx.org>2018-02-08 12:16:30 +0100
commit1855ab742458cc4359e27deadbdf3d8747ce361d (patch)
treed33b5aedc00abf0d1116a9cc70005b1de1a18658 /src/rustllvm/RustWrapper.cpp
parentc00266b7ac97a8c04136e14f10eb70fb64ec2c94 (diff)
downloadrust-1855ab742458cc4359e27deadbdf3d8747ce361d.tar.gz
rust-1855ab742458cc4359e27deadbdf3d8747ce361d.zip
Restrict two-phase borrows to solely borrows introduced via autoref.
Added `-Z two-phase-beyond-autoref` to bring back old behavior (mainly
to allow demonstration of desugared examples).

Updated tests to use aforementioned flag when necessary. (But in each
case where I added the flag, I made sure to also include a revision
without the flag so that one can readily see what the actual behavior
we expect is for the initial deployment of NLL.)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions