]> git.lizzy.rs Git - rust.git/commit
Auto merge of #55959 - matthewjasper:remove-end-region, r=nikomatsakis
authorbors <bors@rust-lang.org>
Sun, 25 Nov 2018 03:00:30 +0000 (03:00 +0000)
committerbors <bors@rust-lang.org>
Sun, 25 Nov 2018 03:00:30 +0000 (03:00 +0000)
commit37961dbd2d84a29be49007a5770b96e296f5f349
tree3e5e4ab50aca7ace299809d9923f886b5f7eddc7
parent2dd94c133ead2cd62636a876d6d72a2a00348943
parent1d7fc0ca500d8e532e7b1019397baec353560c26
Auto merge of #55959 - matthewjasper:remove-end-region, r=nikomatsakis

Cleanup from lexical MIR borrowck removal

Lexical MIR borrowck was removed months ago now, and `EndRegion`s are no longer used for MIRI verification.

* Remove `rustc::mir::StatementKind::EndRegion` and the `-Zemit_end_regions` flag
* Use `RegionVid` instead of `Region` in BorrowSet
* Rewrite drop generation to create fewer goto terminators.

r? @nikomatsakis
src/librustc/session/config.rs
src/librustc/ty/context.rs
src/librustc_mir/transform/mod.rs
src/librustc_mir/transform/qualify_min_const_fn.rs