about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-09-14Auto merge of #146543 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum 1.90.0 stablebors-2/+265
[stable] 1.90.0 stable release https://forge.rust-lang.org/release/process.html#stable-pr r? `@Mark-Simulacrum`
2025-09-141.90.0 stable releaseMark Rousskov-2/+265
2025-09-11Auto merge of #146443 - fmease:beta-less-greedy-maybe-const-bounds, r=fmeasebors-5/+33
[beta] Backport "Less greedily parse `[const]` bounds" Backport of rust-lang/rust#146422. Following https://forge.rust-lang.org/release/backporting.html#beta-backporting-in-rust-langrust. Not part of some hypothetical future backport rollup because we're under time pressure as release procedures will commence very soon: https://forge.rust-lang.org/#current-release-versions, https://forge.rust-lang.org/release/process.html. cc `@cuviper`
2025-09-11Auto merge of #146438 - flip1995:clippy-beta-backport, r=Mark-Simulacrumbors-3/+14
[beta] Clippy backport Only a single commit to backport: - https://github.com/rust-lang/rust-clippy/pull/15434 We'd like to get this ICE fix in a release earlier. r? Mark-Simulacrum
2025-09-11Do not attempt to compute size of a type with escaping lifetimes (#15434)Jason Newcomb-3/+14
A type with escaping bound vars cannot be wrapped in a dummy binder during size computation. Fixes rust-lang/rust-clippy#15429 changelog: [`zero_sized_hashmap_values`]: fix ICE in types with escaping lifetimes r? Jarcho <!-- TRIAGEBOT_START --> <!-- TRIAGEBOT_SUMMARY_START --> ### Summary Notes - [Beta nomination](https://github.com/rust-lang/rust-clippy/pull/15434#issuecomment-3164866684) 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-09-11Less greedily parse `[const]` boundsLeón Orell Valerian Liehr-5/+33
(cherry picked from commit f5dad62d4cd)
2025-09-10Auto merge of #146350 - cuviper:beta-next, r=cuviperbors-258/+373
[beta] backports - Rust build fails on OpenBSD after using file_lock feature rust-lang/rust#145511 - Revert suggestions for missing methods in tuples rust-lang/rust#145765 - When determining if a trait has no entries for the purposes of omitting vptrs from subtrait vtables, consider its transitive supertraits' entries, instead of just its own entries. rust-lang/rust#145807 - Ship LLVM tools for the correct target when cross-compiling rust-lang/rust#145763 - bootstrap: vendor `clippy_test_deps` too rust-lang/rust#145861 r? cuviper
2025-09-09bootstrap: vendor `clippy_test_deps` tooJosh Stone-0/+1
This internal crate explicitly separates itself from the `rustc` workspace, but it is needed for `./x test clippy` to work, including its dependencies when building from a vendored `rustc-src` tarball. (cherry picked from commit c73d7ae1c60b7cc1779839f4e260d6e81929f1a9)
2025-09-09Add warning to the `Builder::llvm_config` functionJakub Beránek-0/+4
(cherry picked from commit 6315b4973a8e5090ce041ca9a4eaf81ed7b70e29)
2025-09-09Ship LLVM tools for the correct target when cross-compilingJakub Beránek-5/+43
(cherry picked from commit c064521cc7fd4d2548bcf30aca2424556c9cf82c)
2025-09-09Rename `llvm_config` to `host_llvm_config` to avoid confusionJakub Beránek-36/+39
(cherry picked from commit 7785efd1b000cd3824d465c485ee1929aa0059bd)
2025-09-08Only consider auto traits empty for the purposes of omitting vptrs from ↵Zachary S-1/+167
subtrait vtables (cherry picked from commit 904e83c53fece4a34c2e90bb44e362d8868d65f3)
2025-09-08add regression test for issue 142488Rémy Rakic-0/+109
there are a lot of MCVEs there, so this is only a few of them, not all duplicates that were opened (cherry picked from commit 5a2b70b2027d00823659a85c2791d7611bcf1989)
2025-09-08Revert "Detect method not being present that is present in other tuple types"Rémy Rakic-218/+2
This reverts commit 585a40963ea59808e74803f8610659a505b145e0. (cherry picked from commit 1f587e4d4fa04811b4e8dbc7670a0bf1228a0a63)
2025-09-08Rust build fails on OpenBSD after using file_lock featureSebastien Marie-0/+10
PR 130999 added the file_lock feature, but doesn't included OpenBSD in the supported targets (Tier 3 platform), leading to a compilation error ("try_lock() not supported"). (cherry picked from commit 8792010768cff60d202b3608e6918be3199aeae2)
2025-08-29Auto merge of #145979 - wesleywiser:revert_144407, r=jieyouxubors-34/+2
Revert "fix(debuginfo): disable overflow check for recursive non-enum types" This reverts commit 49eda8edd5c99e4c65c687fff0b8e194eb339a23. Discussed during the T-compiler triage meeting with the [decision](https://rust-lang.zulipchat.com/#narrow/channel/238009-t-compiler.2Fmeetings/topic/.5Bweekly.5D.202025-08-28/near/536614591) to revert rust-lang/rust#144407 instead of attempting a forward fix.
2025-08-28Revert "fix(debuginfo): disable overflow check for"Wesley Wiser-34/+2
This reverts commit 49eda8edd5c99e4c65c687fff0b8e194eb339a23.
2025-08-21Auto merge of #145719 - cuviper:beta-next, r=cuviperbors-38/+83
[beta] backports - Gate const trait syntax rust-lang/rust#144956 - Demote x86_64-apple-darwin to Tier 2 with host tools rust-lang/rust#145252 - Do not use effective_visibilities query for Adt types of a local trait while proving a where-clause rust-lang/rust#145642 r? cuviper
2025-08-21Do not use effective_visibilities query for Adt types of a local trait while ↵xizheyin-1/+32
proving a where-clause Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn> (cherry picked from commit 27e6726cb82d413f623715dfa099d2b8410e016a)
2025-08-21Demote x86_64-apple-darwin to Tier 2 with host toolsJake Goulding-33/+21
Switch to only using aarch64 runners (implying we are now cross-compiling) and stop running tests. In the future, we could enable (some?) tests via Rosetta 2. (cherry picked from commit c574c91e5739519b2fd3fdb5f07fa6e102705703)
2025-08-21Use aarch64-apple-darwin as the fallback doc source for `-apple-`Jake Goulding-1/+1
We are moving away from `x86_64-apple-darwin`, so soon these docs won't be available. (cherry picked from commit 36a38206db1757dcf899644f758e6fc5a04141ad)
2025-08-21Gate const trait syntaxLeón Orell Valerian Liehr-3/+29
(cherry picked from commit 092c6f3a188ec8b261ec3368e49ad3b07bcc13dc)
2025-08-19Auto merge of #145395 - lcnr:review-coroutine-witness, r=petrochenkovbors-54/+150
[BETA] Revert "Remove the witness type from coroutine args" fixes rust-lang/rust#145151 and rust-lang/rust#145288 we do not revert on nightly as its instead fixed by rust-lang/rust#145194 and rust-lang/rust#145338. See the discussion in https://rust-lang.zulipchat.com/#narrow/channel/238009-t-compiler.2Fmeetings/topic/.5Bweekly.5D.202025-08-14/near/534490313
2025-08-16Auto merge of #145396 - compiler-errors:revert-method-pref, r=lcnrbors-58/+118
[BETA] Revert "Use DeepRejectCtxt in assemble_inherent_candidates_from_param" Fixes https://github.com/rust-lang/rust/issues/145185. Backporting this to stable and beta in favor of https://github.com/rust-lang/rust/pull/145262#issuecomment-3188760251. r? lcnr
2025-08-16Auto merge of #145456 - mati865:revert-beta-gnullvm, r=jieyouxubors-124/+22
[beta] Revert #143031 and #140772 due to #144533 The decision was made in https://github.com/rust-lang/rust/pull/144659#issuecomment-3182163412. Tracking issue: https://github.com/rust-lang/rust/issues/145435 r? jieyouxu try-job: dist-various-1
2025-08-15Revert #143031 and #140772 due to #144533Mateusz Mikuła-124/+22
Revert <https://github.com/rust-lang/rust/pull/143031> and <https://github.com/rust-lang/rust/pull/140772> due to the issue with host tools reported in <https://github.com/rust-lang/rust/issue/144533>. This reverts commits 508021aa4320f1feb4c7a783ee16c2feebc9249a and d577b39c5a39796e911f885c9a354074b52c25ab. The decision was made in <https://github.com/rust-lang/rust/pull/144659#issuecomment-3182163412>. Tracking issue: <https://github.com/rust-lang/rust/issue/145435>
2025-08-14Add testMichael Goulet-0/+106
2025-08-14Revert "Use DeepRejectCtxt in assemble_inherent_candidates_from_param"Michael Goulet-58/+12
This reverts commit ad59f0b6e6e5c45ea64064758a88e8521259bfcf.
2025-08-14Add a testMichael Goulet-0/+14
2025-08-14Revert "Remove the witness type from coroutine args"lcnr-54/+136
This reverts commit e9765781b2857da90161157a3fc523f9e1d58848.
2025-08-09Auto merge of #145104 - BoxyUwU:whatevenarebranchnames, r=cuviperbors-482/+368
[beta] bump stage0 r? release
2025-08-08bump bootstrap compilerBoxy-482/+368
2025-08-04Auto merge of #144898 - BoxyUwU:beta, r=BoxyUwUbors-35/+35
[beta] Prepare Rust 1.90.0 r? `@ghost`
2025-08-04bump channelBoxy-1/+1
2025-08-04replace version placeholderBoxy-34/+34
2025-08-02Auto merge of #144554 - cjgillot:no-hir-eff-vis, r=petrochenkovbors-101/+119
Use less HIR to compute effective visibility. r? `@ghost`
2025-08-02Auto merge of #129183 - estebank:cfg-visitor, r=davidtwcobors-161/+281
Detect more `cfg`d out items in resolution errors Use a visitor to collect *all* items (including those nested) that were stripped behind a `cfg` condition. ``` error[E0425]: cannot find function `f` in this scope --> $DIR/nested-cfg-attrs.rs:4:13 | LL | fn main() { f() } | ^ not found in this scope | note: found an item that was configured out --> $DIR/nested-cfg-attrs.rs:2:4 | LL | fn f() {} | ^ note: the item is gated here --> $DIR/nested-cfg-attrs.rs:1:35 | LL | #[cfg_attr(all(), cfg_attr(all(), cfg(FALSE)))] | ^^^^^^^^^^ ```
2025-08-02Use less HIR to compute effective visibility.Camille GILLOT-101/+119
2025-08-02Auto merge of #144479 - cjgillot:incr-privacy-mod, r=petrochenkovbors-65/+68
Perform check_private_in_public by module. Based on https://github.com/rust-lang/rust/pull/116316
2025-08-01Tweak rendering of cfg'd out itemEsteban Küber-222/+136
``` error[E0433]: failed to resolve: could not find `doesnt_exist` in `inner` --> $DIR/diagnostics-cross-crate.rs:18:23 | LL | cfged_out::inner::doesnt_exist::hello(); | ^^^^^^^^^^^^ could not find `doesnt_exist` in `inner` | note: found an item that was configured out --> $DIR/auxiliary/cfged_out.rs:6:13 | LL | #[cfg(false)] | ----- the item is gated here LL | pub mod doesnt_exist { | ^^^^^^^^^^^^ ```
2025-08-01tiny cleanupEsteban Küber-12/+7
2025-08-01remove recursive search for itemsEsteban Küber-45/+17
2025-08-01Limit how deep we visit items to find cfg'd out namesEsteban Küber-3/+12
2025-08-01Detect more `cfg`d out items in resolution errorsEsteban Küber-43/+273
Use a visitor to collect *all* items (including those nested) that were stripped behind a `cfg` condition. ``` error[E0425]: cannot find function `f` in this scope --> $DIR/nested-cfg-attrs.rs:4:13 | LL | fn main() { f() } | ^ not found in this scope | note: found an item that was configured out --> $DIR/nested-cfg-attrs.rs:2:4 | LL | fn f() {} | ^ note: the item is gated here --> $DIR/nested-cfg-attrs.rs:1:35 | LL | #[cfg_attr(all(), cfg_attr(all(), cfg(FALSE)))] | ^^^^^^^^^^ ```
2025-08-01Auto merge of #144458 - compiler-errors:no-witness-mini, r=lcnrbors-335/+273
Remove the witness type from coroutine *args* (without actually removing the type) This does as much of rust-lang/rust#144157 as we can without having to break rust-lang/rust#143545 and/or introduce some better way of handling higher ranked assumptions. Namely, it: * Stalls coroutines based off of the *coroutine* type rather than the witness type. * Reworks the dtorck constraint hack to not rely on the witness type. * Removes the witness type from the args of the coroutine, eagerly creating the type for nested obligations when needed (auto/clone impls). I'll experiment with actually removing the witness type in a follow-up. r? lcnr
2025-08-01Auto merge of #144735 - weihanglo:update-cargo, r=weihanglobors-0/+0
Update cargo 3 commits in a7fcef21feb4d835d1fee83b3f93b4aef86d5545..840b83a10fb0e039a83f4d70ad032892c287570a 2025-07-13 02:25:52 +0000 to 2025-07-30 13:59:19 +0000 - chore: fix some minor issues in comments (rust-lang/cargo#15787) - feat(schema): Expose `IndexPackage`, the description of a package within a Registry Index (rust-lang/cargo#15770) - chore: update toml/toml_edit to latest (rust-lang/cargo#15779) r? ghost
2025-08-01Auto merge of #144773 - RalfJung:rollup-uif2yyj, r=RalfJungbors-173/+359
Rollup of 6 pull requests Successful merges: - rust-lang/rust#144397 (`tests/ui/issues/`: The Issues Strike Back [2/N]) - rust-lang/rust#144410 (Make tier 3 musl targets link dynamically by default) - rust-lang/rust#144708 (Add tracing to step.rs and friends) - rust-lang/rust#144730 (Create a typed wrapper for codegen backends in bootstrap) - rust-lang/rust#144771 (Remove some noisy triagebot pings for myself) - rust-lang/rust#144772 (add unsupported_calling_conventions to lint list) r? `@ghost` `@rustbot` modify labels: rollup
2025-08-01Rollup merge of #144772 - RalfJung:unsupported_calling_conventions, r=lqdRalf Jung-0/+1
add unsupported_calling_conventions to lint list Seems like you can emit lints without them being on the list, but users cannot control them then... *oops*.
2025-08-01Rollup merge of #144771 - jieyouxu:noisy-ping, r=jieyouxuRalf Jung-8/+0
Remove some noisy triagebot pings for myself r? ghost
2025-08-01Rollup merge of #144730 - Kobzol:bootstrap-cg-typed, r=jieyouxuRalf Jung-79/+143
Create a typed wrapper for codegen backends in bootstrap To avoid representing them just with strings.