Skip to content

Conversation

flip1995
Copy link
Member

@flip1995 flip1995 commented Oct 6, 2025

r? Manishearth

Cargo.lock update due to toml version bump. This caused serde_core being added as a transitive dependency, so tidy --bless had to be run.

(Sorry for the late sync)

samueltardieu and others added 30 commits June 4, 2025 15:51
The autofix now:

- includes the swapping of index and element in the closure in which the
  content will be consumed;
- notes, with applicability `MaybeIncorrect` (because it will be), that
  the element and the index will be swapped.
Signed-off-by: Justus Flügel <justusfluegel@gmail.com>
Renames InstantSubtraction to UncheckedTimeSubtraction
* Don't check for repetition if the previous module crosses a body boundary.
* Don't take a snippet of the entire item.
* Check each item's visibility once.
* Use `is_from_proc_macro` before linting
Clean up `ty::Dynamic`

1. As a follow-up to PR rust-lang#143036, remove `DynKind` entirely.
2. Inside HIR ty lowering, consolidate modules `dyn_compatibility` and `lint` into `dyn_trait`
   * `dyn_compatibility` wasn't about dyn compatibility itself, it's about lowering trait object types
   * `lint` contained dyn-Trait-specific diagnostics+lints only
refactored with `check_item` and `check_item_post`. this refactoring
also fixed a few bugs related to mod path with shared segment name caused
by preivous approach.

changelog: [`self_named_module_files`]: don't lint mod tagged with path attribute
changelog: [`mod_module_files`]: don't lint mod tagged with path attribute

Signed-off-by: Zihan <zihanli0822@gmail.com>
and use it instead of clippy::only_used_in_recursion
when the parameter in question is self.
* Don't check for repetition if the previous module crosses a body
boundary.
* Don't take a snippet of the entire item.
* Check each item's visibility once.
* Use `is_from_proc_macro` before linting

changelog: none
Missed update lints versions for 1.90 at rust-lang/rust-clippy#15670 so
doing this

changelog: none

r? @flip1995
and use it instead of `clippy::only_used_in_recursion` when the
parameter in question is self.

Fixes rust-lang/rust-clippy#10370

changelog: [`only_used_in_recursion`]: Don't lint if parameter is
`self`; add pedantic `self_only_used_in_recursion` lint.
The autofix now:

- includes the swapping of index and element in the closure in which the
content will be consumed;
- notes, with applicability `MaybeIncorrect` (because it will be), that
the element and the index will be swapped.

changelog: [`range_zip_with_len`]: better suggestion, and better
applicability

Fixes rust-lang/rust-clippy#14929
rust-lang#15593)

Fixes rust-lang/rust-clippy#9913

changelog: [`nonstandard_macro_braces`]: suggest trailing semicolon when
needed
Signed-off-by: Justus Flügel <justusfluegel@gmail.com>
all the lints work with `if`-expressions
@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 Oct 6, 2025
@rustbot
Copy link
Collaborator

rustbot commented Oct 6, 2025

⚠️ Warning ⚠️

@rust-log-analyzer

This comment has been minimized.

@flip1995 flip1995 force-pushed the clippy-subtree-update branch from 4583238 to 8c4be66 Compare October 6, 2025 16:10
@rust-log-analyzer

This comment has been minimized.

@rustbot rustbot added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Oct 6, 2025
@rust-log-analyzer

This comment has been minimized.

@flip1995 flip1995 force-pushed the clippy-subtree-update branch from ef574f9 to e652436 Compare October 6, 2025 16:28
@rustbot
Copy link
Collaborator

rustbot commented Oct 6, 2025

The list of allowed third-party dependencies may have been modified! You must ensure that any new dependencies have compatible licenses before merging.

cc @davidtwco, @wesleywiser

@rustbot rustbot added the A-tidy Area: The tidy tool label Oct 6, 2025
@Manishearth
Copy link
Member

@bors r+ p=1 rollup=never

@bors
Copy link
Collaborator

bors commented Oct 6, 2025

📌 Commit e652436 has been approved by Manishearth

It is now in the queue for this repository.

@bors bors 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 Oct 6, 2025
@bors
Copy link
Collaborator

bors commented Oct 6, 2025

⌛ Testing commit e652436 with merge 68ad253...

@bors
Copy link
Collaborator

bors commented Oct 7, 2025

☀️ Test successful - checks-actions
Approved by: Manishearth
Pushing 68ad253 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Oct 7, 2025
@bors bors merged commit 68ad253 into rust-lang:master Oct 7, 2025
11 checks passed
@rustbot rustbot added this to the 1.92.0 milestone Oct 7, 2025
Copy link
Contributor

github-actions bot commented Oct 7, 2025

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 3d8c1c1 (parent) -> 68ad253 (this PR)

Test differences

Show 2 test diffs

2 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 68ad25392f6faf1af5d169bdd81c817521ad2c1d --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. dist-various-1: 4452.6s -> 3665.3s (-17.7%)
  2. dist-apple-various: 4181.1s -> 3450.2s (-17.5%)
  3. tidy: 183.4s -> 214.5s (16.9%)
  4. i686-gnu-2: 5432.5s -> 6332.2s (16.6%)
  5. aarch64-gnu-debug: 3862.6s -> 4357.8s (12.8%)
  6. dist-i686-msvc: 7648.3s -> 8572.0s (12.1%)
  7. test-various: 4421.7s -> 4940.2s (11.7%)
  8. i686-gnu-nopt-1: 7441.5s -> 8262.8s (11.0%)
  9. x86_64-gnu-llvm-20-1: 3189.4s -> 3475.0s (9.0%)
  10. arm-android: 5850.6s -> 6362.2s (8.7%)
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 (68ad253): 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 3.0%)

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

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

Cycles

Results (secondary -2.9%)

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)
- - 0
Improvements ✅
(secondary)
-2.9% [-4.9%, -2.0%] 4
All ❌✅ (primary) - - 0

Binary size

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

Bootstrap: 472.01s -> 473.761s (0.37%)
Artifact size: 388.39 MiB -> 388.37 MiB (-0.00%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tidy Area: The tidy tool merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 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.