Skip to content

Remove the erase regions MIR transform - #70165

Merged
bors merged 1 commit into
rust-lang:masterfrom
matthewjasper:erase-more
Mar 21, 2020
Merged

Remove the erase regions MIR transform#70165
bors merged 1 commit into
rust-lang:masterfrom
matthewjasper:erase-more

Conversation

@matthewjasper

Copy link
Copy Markdown
Contributor

We now ensure that MIR never contains unerased regions in the first place.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @eddyb

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 19, 2020
Comment threadsrc/librustc_mir_build/build/mod.rs Outdated
Comment threadsrc/librustc_mir_build/build/mod.rs Outdated
Comment on lines 131 to 134

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we see a simplification of ty::RegionKind some time soon? 😁

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm working on it.

@eddybeddyb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me after switching to erase_late_bound_regions (if it exists)
cc @nikomatsakis

@nikomatsakis

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Mar 19, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 0f0f254 has been approved by nikomatsakis

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 19, 2020
Centril added a commit to Centril/rust that referenced this pull request Mar 21, 2020
…sakis
Remove the erase regions MIR transform
We now ensure that MIR never contains unerased regions in the first place.
@CentrilCentril mentioned this pull request Mar 21, 2020
@CentrilCentril mentioned this pull request Mar 21, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 21, 2020
Rollup of 16 pull requests
Successful merges:
- rust-lang#65097 (Make std::sync::Arc compatible with ThreadSanitizer)
- rust-lang#69033 (Use generator resume arguments in the async/await lowering)
- rust-lang#69997 (add `Option::{zip,zip_with}` methods under "option_zip" gate)
- rust-lang#70038 (Remove the call that makes miri fail)
- rust-lang#70058 (can_begin_literal_maybe_minus: `true` on `"-"? lit` NTs.)
- rust-lang#70111 (BTreeMap: remove shared root)
- rust-lang#70139 (add delay_span_bug to TransmuteSizeDiff, just to be sure)
- rust-lang#70165 (Remove the erase regions MIR transform)
- rust-lang#70166 (Derive PartialEq, Eq and Hash for RangeInclusive)
- rust-lang#70176 (Add tests for rust-lang#58319 and rust-lang#65131)
- rust-lang#70177 (Fix oudated comment for NamedRegionMap)
- rust-lang#70184 (expand_include: set `.directory` to dir of included file.)
- rust-lang#70187 (more clippy fixes)
- rust-lang#70188 (Clean up E0439 explanation)
- rust-lang#70189 (Abi::is_signed: assert that we are a Scalar)
- rust-lang#70194 (#[must_use] on split_off())
Failed merges:
r? @ghost
@bors
bors merged commit b24d168 into rust-lang:masterMar 21, 2020
@matthewjasper
matthewjasper deleted the erase-more branch March 22, 2020 16:24
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@matthewjasper@rust-highfive@nikomatsakis@bors@eddyb