Skip to content

Don't ICE when performing lower_pattern_unadjusted on a TyError - #51789

Merged
bors merged 1 commit into
rust-lang:masterfrom
estebank:issue-50577
Jun 26, 2018
Merged

Don't ICE when performing lower_pattern_unadjusted on a TyError#51789
bors merged 1 commit into
rust-lang:masterfrom
estebank:issue-50577

Conversation

@estebank

Copy link
Copy Markdown
Contributor

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 25, 2018
@oli-obk

Copy link
Copy Markdown
Contributor

r=me with Travis passing

@estebank

Copy link
Copy Markdown
ContributorAuthor

@bors r=oli-obk

@bors

bors commented Jun 25, 2018

Copy link
Copy Markdown
Collaborator

📌 Commit 7aab3bf has been approved by oli-obk

@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 Jun 25, 2018
emilyalbini added a commit to emilyalbini/rust that referenced this pull request Jun 26, 2018
Don't ICE when performing `lower_pattern_unadjusted` on a `TyError`
Fixrust-lang#50577. CC rust-lang#51696.
r? @oli-obk
bors added a commit that referenced this pull request Jun 26, 2018
Rollup of 11 pull requests
Successful merges:
- #51104 (add `dyn ` to display of dynamic (trait) types)
- #51153 (Link panic and compile_error docs)
- #51642 (Fix unknown windows build)
- #51730 (New safe associated functions for PinMut)
- #51731 (Fix ICEs when using continue as an array length inside closures (inside loop conditions))
- #51747 (Add error for using null characters in #[export_name])
- #51769 (Update broken rustc-guide links)
- #51786 (Remove unnecessary stat64 pointer casts)
- #51788 (Fix typo)
- #51789 (Don't ICE when performing `lower_pattern_unadjusted` on a `TyError`)
- #51791 (Minify css)
Failed merges:
r? @ghost
@bors
bors merged commit 7aab3bf into rust-lang:masterJun 26, 2018
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Jul 24, 2020
Fix ICE while building MIR with type errors
See rust-lang#74047 (comment) for background. Replacing a binding with `PatKind::Wild` (introduced in rust-lang#51789 and later refactored in rust-lang#67439) caused an ICE downstream while building MIR.
I noticed that taking this code out no longer triggers the ICEs it was added to prevent. I'm not sure what else changed, or if this change is _correct_, but it does seem to be passing ui tests at least.
r? @oli-obk
cc @estebankFixesrust-lang#74047.
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.

4 participants

@estebank@oli-obk@bors@rust-highfive