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

Build pre-coroutine-transform coroutine body on error #117686

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

compiler-errors
Copy link
Member

@compiler-errors compiler-errors commented Nov 7, 2023

I was accidentally building the post-transform coroutine body, rather than the pre-transform coroutine body. There's no pinning expected here yet, and the return type isn't yet transformed into CoroutineState.

Fixes #117670

@compiler-errors compiler-errors changed the title Build pre-coroutine-transform coroutine body Build pre-coroutine-transform coroutine body on error Nov 7, 2023
@rustbot
Copy link
Collaborator

rustbot commented Nov 7, 2023

r? @wesleywiser

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

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 7, 2023
@wesleywiser
Copy link
Member

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Nov 14, 2023

📌 Commit 0ba7d19 has been approved by wesleywiser

It is now in the queue for this repository.

@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 Nov 14, 2023
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 14, 2023
…iaskrgr

Rollup of 5 pull requests

Successful merges:

 - rust-lang#116244 (Apply structured suggestion that allows test to work since 1.64)
 - rust-lang#117686 (Build pre-coroutine-transform coroutine body on error)
 - rust-lang#117834 (target_feature: make it more clear what that 'Option' means)
 - rust-lang#117893 (Suggest dereferencing the LHS for binops such as `&T == T`)
 - rust-lang#117911 (Fix some typos)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit d2cdf6c into rust-lang:master Nov 15, 2023
11 checks passed
@rustbot rustbot added this to the 1.76.0 milestone Nov 15, 2023
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Nov 15, 2023
Rollup merge of rust-lang#117686 - compiler-errors:gen-body, r=wesleywiser

Build pre-coroutine-transform coroutine body on error

I was accidentally building the post-transform coroutine body, rather than the pre-transform coroutine body. There's no pinning expected here yet, and the return type isn't yet transformed into `CoroutineState`.

Fixes rust-lang#117670
@wesleywiser wesleywiser added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Nov 15, 2023
@wesleywiser
Copy link
Member

Nominating for beta (1.75) backport since the injecting PR (#117418) landed in 1.75.

@matthiaskrgr
Copy link
Member

Yeah ppl are getting this in beta now, first report 😅 #117975

@apiraino
Copy link
Contributor

Beta backport accepted as per compiler team on Zulip

@rustbot label +beta-accepted

@rustbot rustbot added the beta-accepted Accepted for backporting to the compiler in the beta channel. label Nov 30, 2023
@cuviper cuviper mentioned this pull request Dec 1, 2023
@cuviper cuviper modified the milestones: 1.76.0, 1.75.0 Dec 1, 2023
@cuviper cuviper removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Dec 1, 2023
bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 1, 2023
[beta] backports

- Build pre-coroutine-transform coroutine body rust-lang#117686
- Fix coroutine validation for mixed panic strategy rust-lang#118422
- ConstProp: Remove const when rvalue check fails. rust-lang#118426
- Dispose llvm::TargetMachines prior to llvm::Context being disposed rust-lang#118464

r? ghost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta-accepted Accepted for backporting to the compiler in the beta channel. 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.

ice: unexpected coroutine type Pin<&mut..
7 participants