Skip to content

Conversation

flip1995
Copy link
Owner

@flip1995 flip1995 commented May 3, 2024

changelog: none

@flip1995 flip1995 changed the base branch from master to josh-automation May 3, 2024 12:56
@flip1995 flip1995 force-pushed the josh-automation branch from 668965a to b88db27 Compare May 3, 2024 13:09
@flip1995 flip1995 force-pushed the josh-automation branch from b88db27 to 2f0ab86 Compare May 3, 2024 13:14
@flip1995 flip1995 force-pushed the josh-automation branch from 2f0ab86 to 51bb655 Compare May 3, 2024 13:18
@flip1995 flip1995 force-pushed the josh-automation branch 5 times, most recently from 3f6693b to 3957dad Compare May 3, 2024 14:51
@flip1995 flip1995 force-pushed the josh-rustup branch 2 times, most recently from 8c23274 to 13f01a7 Compare May 3, 2024 14:56
@flip1995 flip1995 force-pushed the josh-automation branch from 3957dad to c9f2c44 Compare May 3, 2024 15:07
@flip1995 flip1995 force-pushed the josh-automation branch from c9f2c44 to 4e49792 Compare May 4, 2024 13:41
@flip1995 flip1995 force-pushed the josh-automation branch from 4e49792 to b916a64 Compare May 4, 2024 13:47
@flip1995 flip1995 force-pushed the josh-automation branch from b916a64 to f3af02d Compare May 4, 2024 13:54
@flip1995 flip1995 force-pushed the josh-automation branch from f3af02d to bf327eb Compare May 6, 2024 16:31
@flip1995 flip1995 force-pushed the josh-automation branch 2 times, most recently from fd562d8 to 01904b0 Compare May 22, 2024 20:40
Alexendoo and others added 24 commits September 17, 2025 17:56
…lang#15693)

Fixes rust-lang#15691

changelog: [`match_as_ref`]: do not lint if other arm is not `None =>
None`
This prevents ripgrep from searching the directory by default.

changelog: none
This test, which checks that we do not define new profiles directly in
Clippy's multiple `Cargo.toml` files, must not look inside `target` as
`lintcheck` might place some third-party sources there. Of course those
third-party sources are allowed to define profiles in their
`Cargo.toml`.

changelog: none
Clean up `ty::Dynamic`

1. As a follow-up to PR rust-lang/rust#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
Rollup of 5 pull requests

Successful merges:

 - rust-lang/rust#146566 (Lint more overlapping assignments in MIR.)
 - rust-lang/rust#146645 (Cleanup `FnDecl::inner_full_print`)
 - rust-lang/rust#146664 (Clean up `ty::Dynamic`)
 - rust-lang/rust#146673 (cg_llvm: Replace some DIBuilder wrappers with LLVM-C API bindings (part 4))
 - rust-lang/rust#146694 (Remove ImplSubject)

r? `@ghost`
`@rustbot` modify labels: rollup
This fixes an issue where clippy suggests passing a function that takes
no arguments as the first argument of `Result::map_or_else`. The
function needs to take one argument. Example that triggers the issue:
[Playground
link](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=0b6f9bc7b6ab4dcd26745065544e0b8a)

Fixes rust-lang#10335.

changelog: [`option_if_let_else`]: fix incorrect suggestion when the
contents of an `Err` variant are ignored
The feature freeze period is over.

changelog: none
`.unwrap_or(vec![])` is as readable as `.unwrap_or_default()`.
…ang#15699)

`.unwrap_or(vec![])` is as readable as `.unwrap_or_default()`.

Also, this ensures by adding tests that expressions such as
`.unwrap_or(DEFAULT_LITERAL)` (`0`, `""`, etc.) are not replaced by
`.unwrap_or_default()` either.

Related to the discussion in the [Zulip
discussion](https://rust-lang.zulipchat.com/#narrow/channel/257328-clippy/topic/FCP.20concealed_obvious_default)
about PR rust-lang#15037.

changelog: [`unwrap_or_default`]: do not replace `.unwrap_or(vec![])` by
`.unwrap_or_default()`
…rust-lang#15277)

Needed to split the lints crate.

changelog: split `redundant_clone` iterator checks into
`redundant_iter_cloned`

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_SUMMARY_START -->

### Summary Notes

-
[Feature-freeze](rust-lang#15277 (comment))
by [github-actions[bot]](https://github.com/github-actions[bot])

*Managed by `@rustbot`—see
[help](https://forge.rust-lang.org/triagebot/note.html) for details*

<!-- TRIAGEBOT_SUMMARY_END -->
<!-- TRIAGEBOT_END -->
r? @ghost

changelog: none
Clippy subtree update

r? `@Manishearth`

`Cargo.lock` update due to release/Clippy version bump.
Co-authored-by: Anne Stijns <anstijns@gmail.com>
Port #[macro_export] to the new attribute parsing infrastructure

Ports macro_export to the new attribute parsing infrastructure for rust-lang/rust#131229 (comment)

r? ``@oli-obk``

cc ``@JonathanBrouwer`` ``@jdonszelmann``
Rollup of 4 pull requests

Successful merges:

 - rust-lang/rust#143857 (Port #[macro_export] to the new attribute parsing infrastructure)
 - rust-lang/rust#146486 (Improve `core::sync::atomic` coverage)
 - rust-lang/rust#146606 (ci: x86_64-gnu-tools: Add `--test-args` regression test)
 - rust-lang/rust#146639 (std: merge definitions of `StdioPipes`)

r? `@ghost`
`@rustbot` modify labels: rollup
@flip1995 flip1995 force-pushed the josh-automation branch 2 times, most recently from c330004 to 85f5f2b Compare September 24, 2025 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.