Skip to content

Account for .yield in illegal postfix operator message - #144589

Merged
bors merged 1 commit into
rust-lang:masterfrom
compiler-errors:postfix-yield-after-cast
Jul 29, 2025
Merged

Account for .yield in illegal postfix operator message#144589
bors merged 1 commit into
rust-lang:masterfrom
compiler-errors:postfix-yield-after-cast

Conversation

@compiler-errors

@compiler-errorscompiler-errors commented Jul 28, 2025

Copy link
Copy Markdown
Contributor

Fixes#144527

@rustbot

Copy link
Copy Markdown
Collaborator

r? @petrochenkov

rustbot has assigned @petrochenkov.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbotrustbot 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 Jul 28, 2025
@petrochenkov

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@bors

bors commented Jul 29, 2025

Copy link
Copy Markdown
Collaborator

📌 Commit 2db97b2 has been approved by petrochenkov

It is now in the queue for this repository.

@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 Jul 29, 2025
@ZalatharZalathar mentioned this pull request Jul 29, 2025
bors added a commit that referenced this pull request Jul 29, 2025
Rollup of 6 pull requests
Successful merges:
- #144560 (coverage: Treat `#[automatically_derived]` as `#[coverage(off)]`)
- #144566 (Simplify `align_of_val::<[T]>(…)` → `align_of::<T>()`)
- #144587 (expand: Micro-optimize prelude injection)
- #144589 (Account for `.yield` in illegal postfix operator message)
- #144615 (Make resolve_fn_signature responsible for its own rib.)
- #144634 (Fix typo in `DropGuard` doc)
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit b76cb79 into rust-lang:masterJul 29, 2025
10 checks passed
@rustbotrustbot added this to the 1.90.0 milestone Jul 29, 2025
rust-timer added a commit that referenced this pull request Jul 29, 2025
Rollup merge of #144589 - compiler-errors:postfix-yield-after-cast, r=petrochenkov
Account for `.yield` in illegal postfix operator message
Fixes#144527
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.T-compilerRelevant 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: entered unreachable code: parse_dot_or_call_expr_with_ shouldn't produce this

4 participants

@compiler-errors@rustbot@petrochenkov@bors