]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #47353 - nikomatsakis:nll-issue-47189, r=pnkfelix+nmatsakis
authorbors <bors@rust-lang.org>
Mon, 22 Jan 2018 11:11:47 +0000 (11:11 +0000)
committerbors <bors@rust-lang.org>
Mon, 22 Jan 2018 11:11:47 +0000 (11:11 +0000)
renumber regions in generators

This fixes #47189, but I think we still have to double check various things around how to treat generators in MIR type check + borrow check (e.g., what borrows should be invalidated by a `Suspend`? What consistency properties should type check be enforcing anyway around the "interior" type?)

Also fixes #47587 thanks to @spastorino's commit.

r? @pnkfelix

1  2 
src/librustc_mir/borrow_check/nll/universal_regions.rs
src/librustc_mir/util/pretty.rs

Simple merge