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
Manishearth and others added 17 commits September 18, 2025 05:00
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.
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
Now that JOSH is used to sync, it is much easier to script the sync process.
This introduces the two commands `sync pull` and `sync push`. The first one will
pull changes from the Rust repo, the second one will push the changes to the
Rust repo. For details, see the documentation in the book.
This is a QoL improvement for doing releases. The `release bump_version`
subcommand increments the version in all relevant `Cargo.toml` files. The
`release commit` command will only work with the new Josh syncs. Until then the
old way, using `git log` has to be used.
@flip1995 flip1995 force-pushed the josh-automation branch 2 times, most recently from c1cfd61 to 8742769 Compare October 18, 2025 19:49
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.