Skip to content

Rollup of 7 pull requests#157845

Closed
jhpratt wants to merge 15 commits into
rust-lang:mainfrom
jhpratt:rollup-MZRFZzd
Closed

Rollup of 7 pull requests#157845
jhpratt wants to merge 15 commits into
rust-lang:mainfrom
jhpratt:rollup-MZRFZzd

Conversation

@jhpratt

@jhpratt jhpratt commented Jun 13, 2026

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

pbkx and others added 15 commits June 11, 2026 01:13
Same as 147495, just keeping it up-to-date.
…oxyUwU

Remove AnonConstKind::GCA and reject generic anon consts

Previously, a `GCA` type const (`type const FOO<const N: usize>: usize = const { N + 1 };`) was a type-system-transparent type const whose body immediately thunked out to an opaque regular const (albeit an anon const). The fact that there was a transparent wrapper wasn't providing anything of value, now that the user can write and rust-lang#155341.

With this PR, `GCA` variant is removed from `AnonConstKind` so that generic anon consts are rejected.

Related: rust-lang/project-const-generics#113
…span, r=lolbinarycat

rustdoc: correct doctest span for trailing semicolon after item

Fixes rust-lang#157371.

When a doctest contains a trailing semicolon after an item, rustdoc can map the
resulting warning to unrelated source following the documentation block rather
than to the semicolon inside the doctest.

Changes only diagnostic span reporting.
…, r=BoxyUwU,samueltardieu

Added `PhantomPinned` diagnostic item and prevented dead field warning on `PhantomPinned`

This PR closes rust-lang#154888. See rust-lang#154978 and in [clippy#17056](rust-lang/rust-clippy#17056) for prior history on working on this issue.

From discussing with clippy team, we thought it'd be appropriate to use a diagnostic item attribute to mark `PhantomPinned` and prevent dead field warnings from being emitted in `missing_fields_in_debug.rs` and `pub_underscore_fields.rs`.

If you want me to do the clippy changes separately within the clippy repository, I can do that.
…mejrs,wesleywiser

Ensure that optimize attributes on closures are inherited by the shim.

Tracking issue: rust-lang#54882
Stabilization PR: rust-lang#157273
rustc_public: implement `ty::Alias` conversion

I don't know why there is a `todo!()` here. Am I overlooking anything?
…-ld, r=Mark-Simulacrum

Update wasm-component-ld to 0.5.25

Same as rust-lang#147495, just keeping it up-to-date.
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Jun 13, 2026
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Jun 13, 2026
@jhpratt

jhpratt commented Jun 13, 2026

Copy link
Copy Markdown
Member Author

@bors r+ rollup=never p=5

@rust-bors

rust-bors Bot commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 0fe717c has been approved by jhpratt

It is now in the queue for this repository.

@rust-bors rust-bors Bot 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 13, 2026
@rust-bors

rust-bors Bot commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

⌛ Testing commit 0fe717c with merge 91c2a8a...

Workflow: https://github.com/rust-lang/rust/actions/runs/27455013185

@jhpratt

jhpratt commented Jun 13, 2026

Copy link
Copy Markdown
Member Author

2½ hours without output from dist-x86_64-linux, so this is presumably stalled. Deferring to a rollup=never before a new rollup containing everything else.

@jhpratt jhpratt closed this Jun 13, 2026
@rust-bors rust-bors Bot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jun 13, 2026
@rust-bors

rust-bors Bot commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

This pull request was unapproved due to being closed.

Auto build was cancelled due to the PR being closed. Cancelled workflows:

@jhpratt jhpratt deleted the rollup-MZRFZzd branch June 13, 2026 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rollup A PR which is a rollup S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants