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