308524 Commits
Author SHA1 Message Date
alula 615e06ff8a horizon os bringup hacks
fix + temporary rng workaround

Use libc from git, not local path oops
1.92.0-horizon
2026-01-03 16:57:51 +00:00
bors ded5c06cf2 Auto merge of #149758 - BoxyUwU:stable, r=BoxyUwU
[stable] prepare Rust 1.92.0

r? `@ghost`
1.92.0
2025-12-08 12:52:32 +00:00
Boxy Uwu 2f2f518819 bump channel 2025-12-08 10:01:43 +00:00
Boxy Uwu b7d4f12ec1 add release notes 2025-12-08 10:01:14 +00:00
bors 112a4af313 Auto merge of #149656 - flip1995:clippy-beta-backport, r=Mark-Simulacrum
[beta] Clippy beta backport

All 3 PRs are fixing bugs that were introduced in 1.92 (current beta) and would land on the next stable.

- https://github.com/rust-lang/rust-clippy/pull/16079
- https://github.com/rust-lang/rust-clippy/pull/15984
- https://github.com/rust-lang/rust-clippy/pull/15939

I verified that all of those commits are already synced to `main`.

r? `@Mark-Simulacrum`
2025-12-08 03:19:34 +00:00
bors 5cd7b3150d Auto merge of #149649 - wesleywiser:revert_147793, r=wesleywiser
[beta] Revert "Replace NullOp::SizeOf and NullOp::AlignOf by lang items."

Totally clean revert, tests pass on my local machine.

Fixes rust-lang/rust#149081 on 1.92 beta

cc `@lcnr` `@BoxyUwU` `@jieyouxu` `@cjgillot`
2025-12-05 04:37:58 +00:00
Jason Newcomb f5e067bb50 fix(double_parens): don't lint in proc-macros (#15939)
Fixes https://github.com/rust-lang/rust-clippy/issues/15852

changelog: [`double_parens`]: don't lint in proc-macros
2025-12-04 20:32:28 +01:00
Samuel Tardieu 25cde47717 Fix replace_box FP when the box is moved (#15984)
Closes rust-lang/rust-clippy#15968

changelog: [`replace_box`] fix FP when the box is moved

r? samueltardieu As you wish

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_SUMMARY_START -->

### Summary Notes

-
[Beta-nomination](https://github.com/rust-lang/rust-clippy/pull/15984#issuecomment-3469127087)
by [samueltardieu](https://github.com/samueltardieu)

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

<!-- TRIAGEBOT_SUMMARY_END -->
<!-- TRIAGEBOT_END -->
2025-12-04 20:31:50 +01:00
Jason Newcomb 2a33be7472 Taking a raw pointer on a union field is a safe operation (#16079)
changelog: [`multiple_unsafe_ops_per_block`]: taking a raw pointer on a
union field is a safe operation

Fixes rust-lang/rust-clippy#16076

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_SUMMARY_START -->

### Summary Notes

- [Beta
nomination](https://github.com/rust-lang/rust-clippy/pull/16079#issuecomment-3524699179)
by [samueltardieu](https://github.com/samueltardieu)

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

<!-- TRIAGEBOT_SUMMARY_END -->
<!-- TRIAGEBOT_END -->
2025-12-04 20:31:25 +01:00
Wesley Wiser 9deb2c4c92 Revert "Replace NullOp::SizeOf and NullOp::AlignOf by lang items."
This reverts commit 5dfbf67f94.
2025-12-04 10:49:32 -06:00
bors ac0aff2115 Auto merge of #149572 - cuviper:beta-next, r=cuviper
[beta] backports

- rustdoc: Use configured target modifiers when collecting doctests rust-lang/rust#148068
- fix(rustdoc): Color doctest errors rust-lang/rust#148834
- Fix the issue of unused assignment from MIR liveness checking rust-lang/rust#149072
- Skip unused variables warning for unreachable code rust-lang/rust#149096
- In `BTreeMap::eq`, do not compare the elements if the sizes are different. rust-lang/rust#149125
- Handle cycles when checking impl candidates for `doc(hidden)` rust-lang/rust#149185
- Generalize branch references rust-lang/rust#148395
  - only the commit updating CI scripts
- Change default branch references rust-lang/rust#148564

r? cuviper
2025-12-03 19:24:47 +00:00
Jakub Beránek 519b57bcb3 Use branch name instead of HEAD when unshallowing 2025-12-03 18:45:45 +01:00
Redddy fdcfd0559a Rename master branch references to main
(cherry picked from commit 4eb0beb3d9)
2025-12-03 09:44:45 -08:00
Jakub Beránek a81d13f102 Change default branch to main
(cherry picked from commit bc0126d451)
2025-12-02 16:39:01 -08:00
Jakub Beránek 953e1eaa8a Generalize branch name in scripts
(cherry picked from commit ae830ef494)
2025-12-02 16:18:45 -08:00
Jules Bertholet b1a2cb2fe0 Handle cycles when checking impl candidates for doc(hidden)
Fixes https://github.com/rust-lang/rust/issues/149092

(cherry picked from commit f580357863)
2025-12-02 16:06:44 -08:00
Zachary S 73018d7670 Add regression test for collections' PartialEq::eq impls not comparing elements if lengths are different.
(cherry picked from commit 907f5c1180)
2025-12-02 15:51:25 -08:00
Zachary S 0f71be4da5 In BTreeMap::eq, do not compare the elements if the sizes are different.
Reverts 68a7c25078 in library/

(cherry picked from commit 4adcdbb58b)
2025-12-02 15:51:25 -08:00
yukang 4bd154fa71 Skip unused variables warning for unreachable code
(cherry picked from commit 2c6b1d3430)
2025-12-02 15:51:18 -08:00
yukang 807097675a fix unused assigment issue for variable with drop, issue 148418
(cherry picked from commit 00f3155794)
2025-12-02 15:51:12 -08:00
yukang 1087de60a9 Fix the issue of unused assignment from MIR liveness checking
(cherry picked from commit 4930d3e612)
2025-12-02 15:51:12 -08:00
Scott Schafer 1c8bd26240 fix(rustdoc): Color doctest errors
(cherry picked from commit c523b65245)
2025-12-02 15:51:07 -08:00
Tomasz Miąsko 7ace3ff5e0 rustdoc: Use configured target modifiers when collecting doctests
To support loading dependencies with target modifiers and avoid ABI
mismatch errors.

(cherry picked from commit accd1fe76c)
2025-12-02 15:50:55 -08:00
bors f3f12444a0 Auto merge of #148591 - cuviper:beta-next, r=cuviper
[beta] backports

- Enable file locking support in illumos rust-lang/rust#148322
- Fix `wasm_import_module` attribute cross-crate rust-lang/rust#148363

r? cuviper
2025-11-09 05:18:39 +00:00
Alex Crichton f9466e2c8a Fix wasm_import_module attribute cross-crate
This commit fixes an accidental regression from 144678 where wasm
targets would now accidentally use the wrong import module map for a
symbol causing a symbol to skip mangling. This can result in compilation
failures when symbols are used in cross-crate situations.

Closes 148347

(cherry picked from commit 93fef455de)
2025-11-06 09:51:18 -08:00