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 in check_must_not_suspend_ty() #91367

Merged
merged 1 commit into from
Dec 6, 2021

Conversation

FabianWolff
Copy link
Contributor

Fixes #91334. I have also used TyS::tuple_fields() (instead of the SubstsRef directly) to get the tuple fields, because that's what the documentation says, although it doesn't seem to make a difference in practice (this is not what fixed the ICE).

@rust-highfive
Copy link
Collaborator

r? @nagisa

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 29, 2021
@apiraino apiraino added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Dec 1, 2021
@nagisa
Copy link
Member

nagisa commented Dec 5, 2021

@bors r+

@bors
Copy link
Contributor

bors commented Dec 5, 2021

📌 Commit a8daff2 has been approved by nagisa

@bors bors 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 Dec 5, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 6, 2021
…askrgr

Rollup of 5 pull requests

Successful merges:

 - rust-lang#91367 (Fix ICE in `check_must_not_suspend_ty()`)
 - rust-lang#91391 (Simplify --no-headless option for rustdoc-gui tester)
 - rust-lang#91537 (compiler/rustc_target: make m68k-unknown-linux-gnu use the gnu base)
 - rust-lang#91554 (Update doc about code block edition attributes)
 - rust-lang#91563 (Bump download-ci-llvm-stamp for LLD inclusion)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit bd98a79 into rust-lang:master Dec 6, 2021
@rustbot rustbot added this to the 1.59.0 milestone Dec 6, 2021
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. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

debug_assert at compiler/rustc_typeck/src/check/generator_interior.rs:542:17
6 participants