Commit Graph

312600 Commits

Author SHA1 Message Date
bors 01f6ddf758 Auto merge of #152450 - cuviper:stable-next, r=cuviper
[stable] prepare Rust 1.93.1

This includes the following backported fixes:

- Don't try to recover keyword as non-keyword identifier rust-lang/rust#150590
- Fix `panicking_unwrap` FP on field access with implicit deref rust-lang/rust-clippy#16196
- Revert "Update wasm-related dependencies in CI" rust-lang/rust#152259

And these are just to avoid recent CI issues:

- Remove rustdoc GUI flaky test rust-lang/rust#152116
- Remove the 4 failing tests from rustdoc-gui rust-lang/rust#152194

r? @rust-lang/release
@rustbot ping relnotes-interest-group
1.93.1
2026-02-11 07:30:54 +00:00
Josh Stone 674ccdd847 Release 1.93.1 2026-02-10 10:01:22 -08:00
Josh Stone f0867bf650 Sync release note changes from main 2026-02-10 09:13:00 -08:00
Jonathan Brouwer b8cc170b70 Remove the 4 failing tests from rustdoc-gui
(cherry picked from commit bce8c00e2f)
2026-02-10 09:07:27 -08:00
Guillaume Gomez 128b1c9f64 Remove rustdoc GUI flaky test
(cherry picked from commit 607ac4bb84)
2026-02-10 09:07:00 -08:00
Alex Crichton f8cf317da3 Revert "Update wasm-related dependencies in CI"
This reverts commit 4c6e41cb53.
2026-02-10 09:06:32 -08:00
Linshu Yang 9c13ace16d fix: panicking_unwrap FP on field access with implicit deref
(cherry picked from commit c905503474)
2026-02-10 09:05:27 -08:00
Jieyou Xu feb759bb79 Don't try to recover keyword as non-keyword identifier
There's no sensible recovery scheme here, giving up the recovery is the
right thing to do.

(cherry picked from commit 79c47278f1)
2026-02-10 08:55:47 -08:00
Jieyou Xu f691f9a0ec Add regression tests for keyword-in-identifier-position recovery ICE
... in macro invocations.

Issue: <https://github.com/rust-lang/rust/issues/149692>.
(cherry picked from commit 31531b3665)
2026-02-10 08:55:47 -08:00
bors 254b59607d Auto merge of #151369 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum
[stable] 1.93.0 release

https://forge.rust-lang.org/release/process.html#stable-pr

r? @Mark-Simulacrum
1.93.0
2026-01-19 16:34:28 +00:00
Mark Rousskov 01ad1d67a6 Bump to stable release 2026-01-19 09:20:55 -05:00
Mark Rousskov 641c209049 Add latest release note copy 2026-01-19 09:20:19 -05:00
bors a741008f5b Auto merge of #151270 - Mark-Simulacrum:beta-backport, r=Mark-Simulacrum
[beta] backports

*  [beta] Disable SimplifyComparisonIntegral rust-lang/rust#151267 
*  Use the old homu bors e-mail address again rust-lang/rust#150959 

Does not backport other nominated PRs:

* Only use SSA locals in SimplifyComparisonIntegral rust-lang/rust#150925  (replaced with the disablement PR)
* Don't try to evaluate const blocks during constant promotion rust-lang/rust#150557 (backport essentially denied at this point)
* Use realstd current thread static variables in tests rust-lang/rust#150131 (as far as I can tell, this only affects internal std tests and hasn't landed in time for backport)

r? @Mark-Simulacrum
2026-01-18 04:13:20 +00:00
Ben Kimock 6feceec6b3 Disable SimplifyComparisonIntegral 2026-01-17 15:39:57 -05:00
Jakub Beránek 2b8a999ac4 Use both bors e-mails for CI postprocessing git lookup 2026-01-17 15:38:03 -05:00
Jakub Beránek 4c28b43a94 Revert bors email to the original homu one 2026-01-17 15:36:12 -05:00
Jakub Beránek a8201d341a Remove references to bors2 2026-01-17 15:36:11 -05:00
bors 9a4aba12f3 Auto merge of #151241 - fmease:beta-rustdoc-dont-eval-assoc-consts, r=fmease
[beta] rustdoc: Stop unconditionally evaluating the initializer of associated consts

Last minute beta backport of rust-lang/rust#151232 ([beta backport accepted](https://rust-lang.zulipchat.com/#narrow/channel/266220-t-rustdoc/topic/beta-nominated.3A.20.23151232/near/568543129)).
Directly fixes rust-lang/rust#149635.

Not part of some hypothetical future backport rollup because we're under time pressure as the release procedures have commenced already: https://forge.rust-lang.org/#current-release-versions, https://forge.rust-lang.org/release/process.html.

r? fmease
2026-01-17 13:03:33 +00:00
León Orell Valerian Liehr 36e6625457 [beta] rustdoc: Stop unconditionally evaluating the initializer of associated consts 2026-01-17 12:25:36 +01:00
rust-bors[bot] 7bea8c6cf1 Auto merge of #150848 - cuviper:beta-next, r=cuviper
[beta] backports

- Revert "Rollup merge of rust-lang/rust#149147 - chenyukang:yukang-fix-unused_assignments-macro-gen-147648, r=JonathanBrouwer" rust-lang/rust#149657
- Don't lint on interior mutable `const` item coming from derefs rust-lang/rust#150166
- stdarch subtree update rust-lang/rust#150639 (partial)
- Update bors configuration rust-lang/rust#150308
- Update bors e-mail lookup rust-lang/rust#150783
- Make verify-channel.sh script compatible with new bors rust-lang/rust#150759

r? cuviper
2026-01-09 18:52:14 +00:00
Jakub Beránek 4dc996fa0f Remove unused environment variable
Its last use was removed in https://github.com/rust-lang/rust/pull/142827.

(cherry picked from commit f2d0d52c2f)
2026-01-09 09:40:31 -08:00
Jakub Beránek 05448c2b8d Update bors e-mail lookup
(cherry picked from commit 138cc27f49)
2026-01-09 09:40:31 -08:00
Jakub Beránek 2827b1b83d Make verify-channel.sh script compatible with new bors
(cherry picked from commit 6f7313e8ad)
2026-01-09 09:40:27 -08:00
Jakub Beránek af53cfa882 Add support for automation/bors/auto merge branch
(cherry picked from commit bbf4ec3b0f)
2026-01-09 09:40:24 -08:00
Jakub Beránek efcf90104e Update bors configuration
(cherry picked from commit 75f53dd70e)
2026-01-09 09:40:23 -08:00
usamoi d851fe6684 partially revert https://github.com/rust-lang/rust/commit/8d597aa36528dada3cbd9bcfec889c2da6ecaaac
(cherry picked from commit 5e4168b162)
2026-01-08 16:20:02 -08:00
Sayantan Chakraborty c5b220e1de Merge pull request #1985 from usamoi/vpmaddwd
Use LLVM intrinsics for `madd` intrinsics

(cherry picked from commit 85f3ba3dd1)
2026-01-08 16:18:36 -08:00
Urgau 249d399caa Don't lint on interior mutable const item coming from derefs
(cherry picked from commit 2581c2571c)
2026-01-08 16:09:05 -08:00
Urgau 0aa11b5dd2 Add regression test for const_item_interior_mutations deref FP
(cherry picked from commit 0bc29cec45)
2026-01-08 16:09:05 -08:00
Jakub Beránek 9f8bfd6b4a Revert "Rollup merge of #149147 - chenyukang:yukang-fix-unused_assignments-macro-gen-147648, r=JonathanBrouwer"
This reverts commit 82a17b30d8, reversing
changes made to 5019bdaefe.

(cherry picked from commit 74387157c7)
2026-01-08 16:08:18 -08:00
bors 72b6488ba4 Auto merge of #150214 - cuviper:beta-next, r=cuviper
[beta] backports

- attempt to fix unreachable code regression rust-lang/rust#149664
- Update to LLVM 21.1.8 rust-lang/rust#150057
- Revert rust-lang/rust#148937 -- rust-lang/rust#150096

r? cuviper
2025-12-21 04:14:38 +00:00
Amanieu d'Antras 4bc6d75592 Revert #148937 (Remove initialized-bytes tracking from BorrowedBuf and BorrowedCursor)
This caused several performance regressions because of existing code
which uses `Read::read` and therefore requires full buffer
initialization. This is particularly a problem when the same buffer is
re-used for multiple read calls since this means it needs to be fully
re-initialized each time.

There is still some benefit to landing the API changes, but we will have
to add private APIs so that the existing infrastructure can
track and avoid redundant initialization.

(cherry picked from commit 4b07875505)
2025-12-20 13:58:49 -08:00
Nikita Popov 834ced45a4 Update to LLVM 21.1.8
(cherry picked from commit f33abb17db)
2025-12-20 13:54:29 -08:00
Kivooeo 3f4f07f0b9 add check for uninhabited types along side never
(cherry picked from commit 2a2da782d3)
2025-12-20 13:54:03 -08:00
bors e17ea4bf4e Auto merge of #149951 - BoxyUwU:beta_bump_stage0, r=cuviper
[beta] bump stage0

r? release
2025-12-18 21:10:55 +00:00
bors 6dfb8017ed Auto merge of #149900 - ranger-ross:backport-cargofix, r=weihanglo
[beta-1.93] Backport Cargo bug fix for 1.93

2 commits in 2c283a9a5c5968eeb9a8f12313f04feb1ff8dfac..083ac5135f967fd9dc906ab057a2315861c7a80d
2025-12-04 16:47:28 +0000 to 2025-12-11 23:19:46 -0500
- [beta-1.93] Backport locking fixes (rust-lang/cargo#16386)
- [beta-1.93] Downgrade curl-sys to 0.4.83 (rust-lang/cargo/pull/16399)
2025-12-16 03:12:22 +00:00
Ross Sullivan 2a8e61f538 Backport Cargo bug fixes for Rust 1.93 2025-12-16 11:40:55 +09:00
bors eb937a3172 Auto merge of #149799 - lnicola:backport-disable-postcard, r=lnicola
[beta] Backport rust-analyzer proc macro server "disable postcard use temporarily"
2025-12-14 18:25:26 +00:00
Boxy Uwu de868f6b43 bump stage0 2025-12-13 14:31:45 +00:00
Lukas Wirth 51da96d7d2 fix: Disable postcard use temporarily 2025-12-09 08:55:41 +02:00
bors 1b6e21e163 Auto merge of #149760 - BoxyUwU:beta, r=BoxyUwU
[beta] prepare rust 1.93.0

r? `@ghost`
2025-12-08 15:58:14 +00:00
Boxy Uwu f80e3ac624 bump channel 2025-12-08 10:08:52 +00:00
Boxy Uwu 3c55c98ec8 replace version placeholder 2025-12-08 10:08:32 +00:00
bors 66428d92be Auto merge of #149682 - matthiaskrgr:rollup-serlk7i, r=matthiaskrgr
Rollup of 11 pull requests

Successful merges:

 - rust-lang/rust#148662 (alloc: Document panics when allocations will exceed max)
 - rust-lang/rust#148811 (core docs: rewrite `panic::Location::caller` with visual line/column numbers)
 - rust-lang/rust#149101 (Improve mutable-binding suggestion to include name)
 - rust-lang/rust#149477 (float::maximum/minimum: make docs more streamlined)
 - rust-lang/rust#149547 (library: Rename `IterRange*` to `Range*Iter`)
 - rust-lang/rust#149548 (Generate delegation error body when delegation is not resolved)
 - rust-lang/rust#149630 (Check identifiers defined in macros when suggesting identifiers hidden by hygiene)
 - rust-lang/rust#149647 (Add regression test for 141845)
 - rust-lang/rust#149661 (Fix for LLVM22 making lowering decisions dependent on RuntimeLibraryInfo.)
 - rust-lang/rust#149666 (Add perma-unstable `--print=backend-has-zstd` for use by compiletest)
 - rust-lang/rust#149671 (interpret: test SNaN handling of float min/max and update comments)

r? `@ghost`
`@rustbot` modify labels: rollup
2025-12-05 16:20:35 +00:00
Matthias Krüger a43b30c113 Rollup merge of #149671 - RalfJung:interpret-float-min-max, r=mati865
interpret: test SNaN handling of float min/max and update comments

Also see https://github.com/rust-lang/rust/pull/149563.

I also renamed these enum variants so they are not almost identical.
2025-12-05 16:17:13 +01:00
Matthias Krüger 8e46521d0e Rollup merge of #149666 - Zalathar:backend-has-zstd, r=jieyouxu
Add perma-unstable `--print=backend-has-zstd` for use by compiletest

Tests for `-Zdebuginfo-compression=zstd` need to be skipped if LLVM was built without support for zstd compression.

Currently, compiletest relies on messy and fragile heuristics to detect whether the compiler's LLVM was built with zstd support. But the compiler itself already knows whether LLVM has zstd or not, so it's easier for compiletest to just ask the compiler.

---

Originally I was intending for this to be a `--print=debuginfo-compression` flag that would print out a list of values supported by `-Zdebuginfo-compression=`. I got that working locally, but it was more complex than I was happy with (in both rustc and compiletest), so I decided to cut scope and instead add a very narrow perma-unstable print request instead.

There is always a circularity hazard whenever we ask the compiler-under-test for information about how to test it. But in this case, the underlying compiler code is fairly simple, whereas the previous heuristics were inherently messy and unreliable anyway.
2025-12-05 16:17:12 +01:00
Matthias Krüger 93249823c2 Rollup merge of #149661 - alinas:llvm-22-runtimelibraryinfo-fix, r=cuviper
Fix for LLVM22 making lowering decisions dependent on RuntimeLibraryInfo.

LLVM added codegen decision making based on RuntimeLibraryInfo. Mirror the change in Rust's codegen.

LLVM reference commit:
https://github.com/llvm/llvm-project/commit/04c81a99735c04b2018eeb687e74f9860e1d0e1b.
2025-12-05 16:17:11 +01:00
Matthias Krüger d076da7e89 Rollup merge of #149647 - reddevilmidzy:test, r=Kivooeo
Add regression test for 141845

close: rust-lang/rust#141845

I saw the `tests/ui/associated-inherent-types` directory, but I felt the current location was a better fit.
2025-12-05 16:17:11 +01:00
Matthias Krüger 0c05bb5606 Rollup merge of #149630 - wafarm:fix-149604, r=JonathanBrouwer
Check identifiers defined in macros when suggesting identifiers hidden by hygiene

Fix rust-lang/rust#149604

r? `@JonathanBrouwer` (Since you reviewed the other one related to this)
2025-12-05 16:17:10 +01:00
Matthias Krüger c42ce16c7b Rollup merge of #149548 - aerooneqq:ice-issue-144594, r=petrochenkov
Generate delegation error body when delegation is not resolved

This PR relates to the delegation feature rust-lang/rust#118212, it fixes rust-lang/rust#144594 ICE.
r? `@petrochenkov`
2025-12-05 16:17:10 +01:00