Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ICE while building MIR with type errors #74703

Merged
merged 1 commit into from
Jul 24, 2020
Merged

Conversation

tmandry
Copy link
Member

@tmandry tmandry commented Jul 24, 2020

See #74047 (comment) for background. Replacing a binding with PatKind::Wild (introduced in #51789 and later refactored in #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 @estebank

Fixes #74047.

@estebank
Copy link
Contributor

I would assume that the ICE tickets were closed with tests, so if the test suite is passing it should be safe to remove it.

@tmandry
Copy link
Member Author

tmandry commented Jul 24, 2020

I would assume that the ICE tickets were closed with tests

Yep, they were!

@oli-obk
Copy link
Contributor

oli-obk commented Jul 24, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Jul 24, 2020

📌 Commit 62e75a1 has been approved by oli-obk

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Jul 24, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 24, 2020
Rollup of 12 pull requests

Successful merges:

 - rust-lang#74361 (Improve doc theme logo display)
 - rust-lang#74504 (Add right border bar to Dark and Light theme)
 - rust-lang#74572 (Internally unify rustc_deprecated and deprecated)
 - rust-lang#74601 (Clean up E0724 explanation)
 - rust-lang#74623 (polymorphize GlobalAlloc::Function)
 - rust-lang#74665 (Don't ICE on unconstrained anonymous lifetimes inside associated types.)
 - rust-lang#74666 (More BTreeMap test cases, some exposing undefined behaviour)
 - rust-lang#74669 (Fix typo)
 - rust-lang#74677 (Remove needless unsafety from BTreeMap::drain_filter)
 - rust-lang#74680 (Add missing backticks in diagnostics note)
 - rust-lang#74694 (Clean up E0727 explanation)
 - rust-lang#74703 (Fix ICE while building MIR with type errors)

Failed merges:

r? @ghost
@bors bors merged commit 01b069d into rust-lang:master Jul 24, 2020
@tmandry tmandry deleted the issue-74047 branch July 25, 2020 00:15
@cuviper cuviper added this to the 1.47.0 milestone May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: 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 on improperly implemented TryFrom
5 participants