Skip to content

Rollup of 11 pull requests#152602

Open
jhpratt wants to merge 33 commits intorust-lang:mainfrom
jhpratt:rollup-uaxGseW
Open

Rollup of 11 pull requests#152602
jhpratt wants to merge 33 commits intorust-lang:mainfrom
jhpratt:rollup-uaxGseW

Conversation

@jhpratt
Copy link
Member

@jhpratt jhpratt commented Feb 14, 2026

Successful merges:

r? @ghost

Create a similar rollup

lolbinarycat and others added 30 commits January 19, 2026 17:39
This has two advantages:
* removes a bunch of @ts-expect-error
* typos of var names will cause type errors instead of runtime errors
this allows TypeScript to understand the relation between isTrait
and traitName's type, getting rid of a type error.
88b4646 made builtin functions hidden,
but it doesn't apply to naked functions, which are generated through a
different code path.
If late lifetime resolution fails for whatever reason, forward to RBV
the guarantee that an error was emitted - thereby eliminating the need
for a "hack" to suppress subsequent/superfluous error diagnostics.
It avoids round-tripping through `Location`s if you're working with
`Point`s already.
…saethlin,bjorn3

Set hidden visibility on naked functions in compiler-builtins

88b4646 made builtin functions hidden, but it doesn't apply to naked functions, which are generated through a different code path.

This was discovered in rust-lang#151486 where aarch64 outline atomics showed up in shared objects, overriding the symbols from compiler-rt.
…table-first, r=notriddle

rustdoc: sort stable items first

Finally tackling this again now that the search system refactor is done.  The tests and the general approach were taken from the original PR.
… r=fmease

Feed `ErrorGuaranteed` from late lifetime resolution errors through to bound variable resolution

If late lifetime resolution fails for whatever reason, forward to RBV the guarantee that an error was emitted - thereby eliminating the need for a "hack" to suppress subsequent/superfluous error diagnostics.

Fixes rust-lang#152014
r? fmease
…unds, r=estebank

improve associated-type suggestions from bounds

Should address invalid suggestions I could come up with, but the suggestion is too hand-crafted and invalid patterns may exist.
r? @estebank
Fix rust-lang#73321
move `escape_symbol_name` to `cg_ssa`

followup of rust-lang#151955

r? @bjorn3
…richton

c-variadic: implement `va_arg` for `wasm64`

tracking issue: rust-lang#44930

A LLVM maintainer of the wasm backend confirmed that the behavior on wasm64 is intented: the slot size is 4 on both wasm32 and wasm64. llvm/llvm-project#173580 (comment)

r? workingjubilee
cc @alexcrichton as target maintainer
…=GuillaumeGomez

rustdoc: more js cleanup

Continuing the effort of removing `@ts-expect-error` from the codebase wherever possible, this time focusing on `main.js`.  Found some oddities with `register_type_impls`, fixed most of them, but the one that I couldn't figure out is what's going on with `sidebarTraitList`.  It's queried, then if there are any trait imps, unconditionally overwritten, then latter code assumes that one of these two things has initialized it, but it's not obvious why this would be the case, or if there's a reason this wasn't done in a more straightforwards way.

r? @GuillaumeGomez
…zelmann

Port `#[lang]` and `#[panic_handler]` to the new attribute parsers

For rust-lang#131229 (comment)

r? @jdonszelmann
A couple of tiny polonius things

Here's a couple of tiny things I had ready to go @jackh726
- a tiny cleanup to avoid round-tripping through `Location`s to check for liveness, since we're already working with points
- while I was there, I fixed the doc which wasn't showing up properly (maybe a rustdoc or bootstrap bug when we build locally or during dist, either way, both don't show up correctly linked most of the time) for `PointIndex`es.
- and in the second commit slightly expand test coverage with [an example](https://internals.rust-lang.org/t/get-mut-map-back-from-entry-api/24003) that would have needed stdlib changes (cc author @Darksonn for visibility here)

More soon.

r? @jackh726
@rust-bors rust-bors bot added the rollup A PR which is a rollup label Feb 14, 2026
@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-rustdoc-js Area: Rustdoc's JS front-end A-rustdoc-search Area: Rustdoc's search feature 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. 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. labels Feb 14, 2026
@jhpratt
Copy link
Member Author

jhpratt commented Feb 14, 2026

@bors r+ rollup=never p=5

@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 14, 2026

📌 Commit 4bcbf62 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 Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-rustdoc-js Area: Rustdoc's JS front-end A-rustdoc-search Area: Rustdoc's search feature rollup A PR which is a rollup 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. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.