Skip to content

Clippy subtree update #143064

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 125 commits into from
Jun 27, 2025
Merged

Clippy subtree update #143064

merged 125 commits into from
Jun 27, 2025

Conversation

flip1995
Copy link
Member

r? @Manishearth

Cargo.lock update due to version bump

blyxyas and others added 30 commits March 21, 2025 15:41
Fix false positives on broken link detection

Refactor variable names

Fix doc comment about broken link lint

Refactor, remove not used variable

Improve broken link to catch more cases and span point to whole link

Include reason why a link is considered broken

Drop some checker because rustdoc already warn about them

Refactor to use a single enum instead of multiple bool variables

Fix lint warnings

Rename function to collect broken links

Warn directly instead of collecting all entries first

Iterate directly rather than collecting

Temporary change to confirm with code reviewer the next steps

Handle broken links as part of the fake_broken_link_callback handler

Simplify broken link detection without state machine usage

Fix typos

Add url check to reduce false positives

Drop reason enum as there is only one reason

Fix duplicated diagnostics

Fix linter
For example, adding `*` in front of `*expression` is best shown as
`**expression` rather than `*(*expression)`.

This is not perfect, as it checks whether the operator is already a prefix
of the expression, but it is better than it was before. For example,
`&`+`&mut x` will get `&&mut x` but `&mut `+`&x` will get `&mut (&x)`
as it did before this change.
If a reborrow is itself borrowed mutably, do not propose to replace it
by the original reference.
…nishearth

Clippy subtree update

r? `@Manishearth`

1 day late. Got distracted yesterday evening and forgot about it.
…g#14906)

Closes rust-lang/rust-clippy#14799

changelog: [`collapsible_else_if`] fix FP on conditionally compiled stmt
flip1995 and others added 2 commits June 27, 2025 12:21
@flip1995 flip1995 force-pushed the clippy-subtree-update branch from a4066a0 to 4b3f31d Compare June 27, 2025 10:22
@rustbot rustbot added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Jun 27, 2025
@rustbot

This comment was marked as resolved.

@flip1995 flip1995 removed the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Jun 27, 2025
@rust-log-analyzer

This comment has been minimized.

@rustbot rustbot added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jun 27, 2025
@rustbot
Copy link
Collaborator

rustbot commented Jun 27, 2025

Some changes occurred in compiler/rustc_codegen_gcc

cc @antoyo, @GuillaumeGomez

@flip1995 flip1995 removed T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Jun 27, 2025
@rust-log-analyzer

This comment has been minimized.

@flip1995 flip1995 force-pushed the clippy-subtree-update branch from 06de8a7 to d9a4fd5 Compare June 27, 2025 11:56
@rustbot rustbot added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jun 27, 2025
@flip1995 flip1995 removed T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Jun 27, 2025
@flip1995
Copy link
Member Author

Finally CI passed 🎉

@GuillaumeGomez
Copy link
Member

Well done!

@bors r+ p=1

@bors
Copy link
Collaborator

bors commented Jun 27, 2025

📌 Commit d9a4fd5 has been approved by GuillaumeGomez

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 Jun 27, 2025
@bors
Copy link
Collaborator

bors commented Jun 27, 2025

⌛ Testing commit d9a4fd5 with merge bdaba05...

@bors
Copy link
Collaborator

bors commented Jun 27, 2025

☀️ Test successful - checks-actions
Approved by: GuillaumeGomez
Pushing bdaba05 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Jun 27, 2025
@bors bors merged commit bdaba05 into rust-lang:master Jun 27, 2025
11 checks passed
@rustbot rustbot added this to the 1.90.0 milestone Jun 27, 2025
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 fe5f3de (parent) -> bdaba05 (this PR)

Test differences

No test diffs found

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
    test-dashboard bdaba05a953eb5abeba0011cdda2560d157aed2e --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. x86_64-apple-1: 5848.2s -> 7903.6s (35.1%)
  2. x86_64-apple-2: 4059.6s -> 4917.3s (21.1%)
  3. mingw-check-1: 1857.8s -> 1563.0s (-15.9%)
  4. dist-x86_64-apple: 7698.7s -> 8880.1s (15.3%)
  5. aarch64-apple: 5096.8s -> 4333.9s (-15.0%)
  6. x86_64-gnu-tools: 3707.0s -> 3253.0s (-12.2%)
  7. x86_64-rust-for-linux: 3013.1s -> 2644.7s (-12.2%)
  8. aarch64-gnu-debug: 4103.0s -> 3641.3s (-11.3%)
  9. i686-gnu-2: 6118.0s -> 5446.1s (-11.0%)
  10. x86_64-gnu-llvm-20-2: 6115.5s -> 5502.8s (-10.0%)
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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.