Skip to content

Clippy subtree update#151501

Merged
rust-bors[bot] merged 132 commits intorust-lang:mainfrom
flip1995:clippy-subtree-update
Jan 23, 2026
Merged

Clippy subtree update#151501
rust-bors[bot] merged 132 commits intorust-lang:mainfrom
flip1995:clippy-subtree-update

Conversation

@flip1995
Copy link
Member

r? Manishearth

Cargo.lock update due to Clippy version bump.

ada4a and others added 30 commits October 13, 2025 20:05
- update file name to match lint name
- use `Symbol`s instead of `&str`s
- get rid of needless lifetimes
Add checks for expressions such as `x != y && x >= y` and `x != y && x <= y`.
allow only whitespace between the comment marker and `SAFETY:`
MGCA: Support tuple expressions as direct const arguments

Tracking issue: rust-lang#132980

Fixes rust-lang#133965
Fixes rust-lang#150613

r? @BoxyUwU
The previous fix only handled `String`+`str`.
By postponing the creation of `Sugg`s, we can properly account for their
effect on applicability
Update `literal-escaper` version to `0.0.7`

It removes the `std` dependency for this crate (which doesn't change anything for rustc 😄 ).

cc @bjorn3
r? @Urgau
…provenance_mut`

Currently `without_provenance`/`without_provenance_mut` do not have a `rustc_diagnostic_item` so this change is dependent on them being added before being ready to be used.

changelog: [`transmuting_null`]: now checks for [`ptr::without_provenance`](https://doc.rust-lang.org/core/ptr/fn.without_provenance.html) and [`ptr::without_provenance_mut`](https://doc.rust-lang.org/core/ptr/fn.without_provenance_mut.html) which create null pointers
@rustbot
Copy link
Collaborator

rustbot commented Jan 22, 2026

Some changes occurred in src/tools/clippy

cc @rust-lang/clippy

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-clippy Relevant to the Clippy team. labels Jan 22, 2026
@rustbot
Copy link
Collaborator

rustbot commented Jan 22, 2026

⚠️ Warning ⚠️

@rust-log-analyzer

This comment has been minimized.

@Manishearth
Copy link
Member

r=me, but build fails

@rustbot rustbot added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Jan 23, 2026
@samueltardieu
Copy link
Member

@bors r=Manishearth p=1 rollup=never

@rust-bors
Copy link
Contributor

rust-bors bot commented Jan 23, 2026

📌 Commit 2a62479 has been approved by Manishearth

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 Jan 23, 2026
@rust-bors

This comment has been minimized.

@rust-bors rust-bors bot added merged-by-bors This PR was explicitly merged by bors. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jan 23, 2026
@rust-bors
Copy link
Contributor

rust-bors bot commented Jan 23, 2026

☀️ Test successful - CI
Approved by: Manishearth
Duration: 3h 13m 46s
Pushing d222ddc to main...

@rust-bors rust-bors bot merged commit d222ddc into rust-lang:main Jan 23, 2026
12 checks passed
@rustbot rustbot added this to the 1.95.0 milestone Jan 23, 2026
@github-actions
Copy link
Contributor

What is this? This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.

Comparing 5944b12 (parent) -> d222ddc (this PR)

Test differences

Show 4 test diffs

4 doctest diffs were found. These are ignored, as they are noisy.

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
    test-dashboard d222ddc4d90743dfc1e53b610be8fc9d95893d2c --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. tidy: 167.6s -> 143.6s (-14.4%)
  2. dist-apple-various: 4115.5s -> 4706.5s (+14.4%)
  3. x86_64-gnu-miri: 4788.0s -> 4104.9s (-14.3%)
  4. i686-gnu-2: 5879.2s -> 5136.6s (-12.6%)
  5. x86_64-rust-for-linux: 3098.9s -> 2716.2s (-12.4%)
  6. aarch64-gnu-llvm-20-2: 3203.4s -> 2861.1s (-10.7%)
  7. dist-riscv64-linux: 5434.5s -> 4882.5s (-10.2%)
  8. aarch64-gnu: 8024.3s -> 7214.3s (-10.1%)
  9. pr-check-1: 1847.3s -> 1666.7s (-9.8%)
  10. i686-gnu-1: 8163.7s -> 7391.0s (-9.5%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (d222ddc): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

Results (primary 1.7%, secondary -3.8%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
1.7% [1.7%, 1.7%] 1
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-3.8% [-3.8%, -3.8%] 1
All ❌✅ (primary) 1.7% [1.7%, 1.7%] 1

Cycles

Results (primary -2.1%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-2.1% [-2.3%, -2.0%] 2
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) -2.1% [-2.3%, -2.0%] 2

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 474.479s -> 470.684s (-0.80%)
Artifact size: 383.49 MiB -> 383.48 MiB (-0.00%)

@flip1995 flip1995 deleted the clippy-subtree-update branch January 26, 2026 12:44
flip1995 pushed a commit to flip1995/rust that referenced this pull request Feb 12, 2026
…nishearth

Clippy subtree update

r? Manishearth 

`Cargo.lock` update due to Clippy version bump.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-bors This PR was explicitly merged by bors. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-clippy Relevant to the Clippy team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.