Use gen blocks in the compiler instead of `from_coroutine` by compiler-errors · Pull Request #142801 · rust-lang/rust

@compiler-errors

@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

Jun 20, 2025

@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

Jun 20, 2025

bors added a commit that referenced this pull request

Jun 21, 2025
Rollup of 7 pull requests

Successful merges:

 - #142502 (rustdoc_json: improve handling of generic args)
 - #142597 (error on calls to ABIs that cannot be called)
 - #142785 (fix(linkcheck): Build using the lockfile)
 - #142787 (Add diagnostic items for Clippy)
 - #142788 (add doc(alias("AsciiChar")) to core::ascii::Char)
 - #142801 (Use gen blocks in the compiler instead of `from_coroutine`)
 - #142804 (Rename `LayoutS` to `LayoutData` in comments)

r? `@ghost`
`@rustbot` modify labels: rollup

rust-timer added a commit that referenced this pull request

Jun 21, 2025
Rollup merge of #142801 - compiler-errors:gen-blocks, r=oli-obk

Use gen blocks in the compiler instead of `from_coroutine`

r? oli-obk

lnicola pushed a commit to lnicola/rust-analyzer that referenced this pull request

Jun 23, 2025

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Jun 29, 2025
…compiler-errors

Remove unused feature gates

After finding some unused feature gates in rust-lang#143155 , I wrote a small script to see if I can find any others.
And I did. Not a lot, but still a small win 😁
Contains a few instances of `iter_from_coroutine` that can be removed due to rust-lang#142801 (I guess).

rust-timer added a commit that referenced this pull request

Jun 29, 2025
Rollup merge of #143169 - yotamofek:pr/unneeded-features, r=compiler-errors

Remove unused feature gates

After finding some unused feature gates in #143155 , I wrote a small script to see if I can find any others.
And I did. Not a lot, but still a small win 😁
Contains a few instances of `iter_from_coroutine` that can be removed due to #142801 (I guess).