Skip to content

Rollup of 5 pull requests#157902

Closed
jhpratt wants to merge 11 commits into
rust-lang:mainfrom
jhpratt:rollup-li9akQN
Closed

Rollup of 5 pull requests#157902
jhpratt wants to merge 11 commits into
rust-lang:mainfrom
jhpratt:rollup-li9akQN

Conversation

@jhpratt

@jhpratt jhpratt commented Jun 15, 2026

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

qaijuang and others added 11 commits June 13, 2026 14:44
* update intrinsics wrapping documentation
* fix variable names
* stabilize feature float_algebraic
* fixed algrebracis for `f16` and `f128`
Update LLVM to 22.1.7

Update for rust-lang/llvm-project#196.

LLVM 22.1.7 contains fixes for the PowerPC specific issues produced by Rust.
…loat_algebraic, r=RalfJung

stabilize feature `float_algebraic`

Closes rust-lang#136469

Thanks to @RalfJung for getting the stabilization process started and asking me to draft the stabilization PR for the `float_algebraic` feature. This will be my first contribution to rust! I've done my best to follow the various guides for stabilization PRs, but this is my first one, so do give it a careful look. The only place left that includes "float_algebraic" is line 8202  of "src/tools/rust-analyzer/crates/ide-db/src/generated/lints.rs", but I'm assuming that's fine.
…-op-type, r=camelid

`suspicious_double_ref_op`: report unadjusted return type

`suspicious_double_ref_op` uses the adjusted expression type to distinguish a no-op call from a double-reference operation. When the result is used as another method's receiver, that type can include the parent method's receiver adjustment.

For example, `file.clone().write(&[])` reports that `clone` returns `&mut &File`, even though it returns `&File`.

This PR continues to use the adjusted type for lint classification, but now uses the method call's unadjusted type in the diagnostic. The same issue affects `.deref()`, so the regression test covers both operations.

Fixes rust-lang#146227
Update intrinsics wrapping documentation

This PR updates the documentation for `intrinsics::{wrapping_add, wrapping_sub, wrapping_mul}`,
to make it accurate for both signed and unsigned types.

Related issue: rust-lang#156726
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Jun 15, 2026
@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. 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-libs Relevant to the library team, which will review and decide on the PR/issue. labels Jun 15, 2026
@jhpratt

jhpratt commented Jun 15, 2026

Copy link
Copy Markdown
Member Author

@bors r+ rollup=never p=5

@rust-bors

rust-bors Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

📌 Commit ed9c51a 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 15, 2026
@jhpratt jhpratt closed this Jun 15, 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 15, 2026
@rust-bors

rust-bors Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

This pull request was unapproved due to being closed.

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

Labels

A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. 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-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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants