Skip to content

Delay bug to prevent ICE in MIR borrowck - #67967

Merged
bors merged 1 commit into
rust-lang:masterfrom
JohnTitor:fix-ice-0107
Jan 9, 2020
Merged

Delay bug to prevent ICE in MIR borrowck#67967
bors merged 1 commit into
rust-lang:masterfrom
JohnTitor:fix-ice-0107

Conversation

@JohnTitor

Copy link
Copy Markdown
Member

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 7, 2020
Comment threadsrc/librustc_mir/transform/elaborate_drops.rs Outdated
@matthewjasper

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Jan 9, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 4fce9c2 has been approved by matthewjasper

@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 Jan 9, 2020
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Jan 9, 2020
@JohnTitorJohnTitor mentioned this pull request Jan 9, 2020
bors added a commit that referenced this pull request Jan 9, 2020
Rollup of 10 pull requests
Successful merges:
- #66254 (Make Layout::new const)
- #67122 (Do not deduplicate diagnostics in UI tests)
- #67358 (Add HashSet::get_or_insert_owned)
- #67725 (Simplify into_key_slice_mut)
- #67935 (Relax the Sized bounds on Pin::map_unchecked(_mut))
- #67967 (Delay bug to prevent ICE in MIR borrowck)
- #67975 (Export public scalar statics in wasm)
- #68006 (Recognise riscv64 in compiletest)
- #68040 (Cleanup)
- #68054 (doc: add Null-unchecked version section to mut pointer as_mut method)
Failed merges:
- #67258 (Introduce `X..`, `..X`, and `..=X` range patterns)
r? @ghost
@bors
bors merged commit 4fce9c2 into rust-lang:masterJan 9, 2020
@JohnTitor
JohnTitor deleted the fix-ice-0107 branch January 9, 2020 22:56
tmiasko added a commit to tmiasko/rust that referenced this pull request Dec 22, 2021
This follows changes from rust-lang#67967 and converts remaining `span_bug`s into
delayed bugs, since for const items drop elaboration might be executed
on a MIR which failed borrowck.
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jan 6, 2022
… r=jackh726
Delay remaining `span_bug`s in drop elaboration
This follows changes from rust-lang#67967 and converts remaining `span_bug`s into
delayed bugs, since for const items drop elaboration might be executed
on a MIR which failed borrowck.
Fixesrust-lang#81708.
Fixesrust-lang#91816.
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.

ICE: No move_errors should be allowed in MIR borrowck

4 participants

@JohnTitor@matthewjasper@bors@rust-highfive