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>2017-03-23 11:03:17 +0100
committerFelix S. Klock II <pnkfelix@pnkfx.org>2017-06-12 13:06:42 +0200
commit9dd55276a6249110ce6aa52e450612f716f27149 (patch)
tree99807042a9830c990e6ab61e6a526354c3908c0d /src/rustllvm/RustWrapper.cpp
parent0a5211e80951eeb89e6f8e9e10b31398904d8d76 (diff)
downloadrust-9dd55276a6249110ce6aa52e450612f716f27149.tar.gz
rust-9dd55276a6249110ce6aa52e450612f716f27149.zip
Leverage mir-opt to encode tests for `EndRegion`.
The tests use `-Z identify_regions` so one can eyeball output for
sanity. The tests with closures use `-Z span_free_formats` so that
host-specific paths do not get embedded into the dumped MIR.

The tests check against MIR dump output immediately prior to borrowck
(determined by hand to be the dump from after the "qualify-consts"
pass) since that is when `EndRegion` will be most relevant in the near
term.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions