Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
444 commits
Select commit Hold shift + click to select a range
b11a76b
tests: modify s390x vector test to be robust to instruction scheduling
durin42 Jun 23, 2026
753b3a9
Move `empty_enums` to the nursery
Jarcho Jun 23, 2026
def1c09
Simplify `missing_inline_in_public_items` (#17292)
dswij Jun 23, 2026
aacb854
Auto merge of #158013 - khyperia:AliasTy-def_id, r=BoxyUwU
bors Jun 23, 2026
8d2cf93
Update `cargo miri --help` to point to README.md.
eswartz Jun 18, 2026
aa5792a
reformat pointers to README
RalfJung Jun 23, 2026
88fa4bf
Merge pull request #5113 from eswartz/expose-readme-md-info
RalfJung Jun 23, 2026
90231c7
Merge pull request #5114 from joboet/min-netbsd
RalfJung Jun 23, 2026
6ea0a2f
Do not trigger `manual_option_zip` when map receiver is a lazy evalua…
rustbot Jun 23, 2026
8f9dd5d
Revert "feat: Add profile-specific configuration for disallowed metho…
rustbot Jun 23, 2026
b429456
Move some methods that only need the region context onto that
oli-obk Jun 23, 2026
7ebb859
Consistently taint root cx
oli-obk Jun 24, 2026
f44093d
Remove some unnecessary mutabilities
oli-obk Jun 24, 2026
7102a6c
Typeck children always have the same param env as their parent
oli-obk Jun 24, 2026
7cb94f0
Don't compute opaque types for typeck children. They are always the s…
oli-obk Jun 24, 2026
7ccc34f
Add a convenience helper for doing type ops
oli-obk Jun 24, 2026
b2a46c9
Move `check_ffi_pure` into the attribute parser
obeis Jun 24, 2026
0cf893e
dont ICE on generic no_mangle items
RalfJung Jun 24, 2026
dc5b1a9
test-cargo-miri: test all workspace members
RalfJung Jun 24, 2026
01a12a4
add ui test for no mangle generic
HerrCai0907 Mar 29, 2026
1545b13
Merge pull request #5129 from RalfJung/no-mangle-generic
RalfJung Jun 24, 2026
c19c462
Use `NoArgsAttributeParser` for parsing `#[ffi_pure]`
obeis Jun 24, 2026
efce304
Update itertools to 0.15
jakubadamw May 10, 2026
3dc3d57
Convert pattern matches of `itertools::Position` into the new appropr…
jakubadamw May 10, 2026
135a0f7
Merge pull request #5063 from foonathan/master
RalfJung Jun 24, 2026
0d2070c
Add safety section for SliceIndex::get_unchecked(mut)
yilin0518 Jun 25, 2026
4755296
Move `empty_enums` to the nursery (#17298)
llogiq Jun 25, 2026
e0588c2
fix: `needless_late_init` FN for if/match in block expr
profetia Mar 12, 2026
6d4ad63
Extend `needless_late_init` to cover grouped assignments
profetia Mar 22, 2026
3be3a9c
Enhance `needless_late_init` to cover grouped assignments (#16746)
rustbot Jun 25, 2026
eca4b5b
move nextest section up and mark it more clearly as such
RalfJung Jun 25, 2026
d6d568b
Merge pull request #5131 from RalfJung/nextest
RalfJung Jun 25, 2026
2337590
add some more errno_result
RalfJung Jun 25, 2026
d2c6980
rename read_split_slice → read_partial
RalfJung Jun 25, 2026
5445de0
remove dangling comment
RalfJung Jun 25, 2026
b0d28dc
Merge pull request #5132 from RalfJung/errno-result
RalfJung Jun 25, 2026
ba2c9ba
std: truncate thread names on NetBSD
joboet Jun 25, 2026
ab88669
replace cfg_if with cfg_select
hkBst Jun 25, 2026
6964da6
Merge remote-tracking branch 'upstream/master' into rustup
flip1995 Jun 25, 2026
bf8aa08
Bump nightly version -> 2026-06-25
flip1995 Jun 25, 2026
64c7431
Rustup (#17306)
flip1995 Jun 25, 2026
37ffa9a
run some more tests natively
RalfJung Jun 25, 2026
528bd23
update lockfile
RalfJung Jun 25, 2026
0ab64f5
Merge commit '64c7431d6cd823d1a7663165c7e59d78e6dc726a' into clippy-s…
flip1995 Jun 25, 2026
dfb71b7
Merge pull request #5134 from hkBst/cfg-select
RalfJung Jun 25, 2026
5ba35ba
Eliminate double length check in `Vec::into_array`
Jun 25, 2026
b6a4c3a
Suggest `>=` for `=>` typo in closure and call argument positions
ChronoCoders Jun 24, 2026
a3c123b
Add function to extract the symbol name from the attributes
Urgau Apr 19, 2026
aed9639
Add weak-only lang items for core runtime symbols
Urgau Apr 19, 2026
dba3447
Add lint against invalid runtime symbol definitions
Urgau Apr 12, 2026
47448f3
Handle static whose type is a function pointer
Urgau Apr 19, 2026
7411873
Fix invalid `memcpy` definition in codegen test and UI tests
Urgau Apr 19, 2026
20a75d1
Fix invalid definition of `strlen` in error codes documentation
Urgau Apr 19, 2026
b6d1d92
Fix `compiler-builtins` runtime symbols definitions
Urgau May 14, 2026
56d17c4
Split lint in two based on the certainty of the mismatch
Urgau Jun 14, 2026
6b9de05
Attribute docs `deprecated` , `warn`, `allow`, `cfg`, `deny`, and `fo…
kantnero Jun 26, 2026
9b188dd
cg_LLVM: Stop needing an alloca for volatile loads
scottmcm May 23, 2026
6d6fcc9
add regression test for clone suggestion empty obligations
TaKO8Ki Jun 26, 2026
f08762c
guard clone suggestion against empty obligation errors
TaKO8Ki Jun 26, 2026
4a2d36a
Prepare for merging from rust-lang/rust
Jun 26, 2026
9beed1d
Merge ref '40557f6225e3' from rust-lang/rust
Jun 26, 2026
8461b0d
Rename unevaluatedConst to AliasConst and UnevaluatedConstKind to Ali…
Shourya742 Jun 19, 2026
fb9fa4e
Merge pull request #5136 from rust-lang/rustup-2026-06-26
RalfJung Jun 26, 2026
0af46a8
* ConstKind::Unevaluated -> ConstKind::Alias
Shourya742 Jun 21, 2026
6b772f5
Correct the type_const_recursive error message to be not vague
Shourya742 Jun 21, 2026
40fc3c5
Remove unused bounds in interners
Shourya742 Jun 21, 2026
cfb7508
Rename uv to alias_const
Shourya742 Jun 21, 2026
1fc3df4
Rename from alias const to const alias and bless test
Shourya742 Jun 23, 2026
857278e
Make sure term_kind uses same alias renames as before
Shourya742 Jun 25, 2026
58f80da
Fix inconsistent safety requirement in VecDeque::nonoverlapping_ranges
yilin0518 Jun 26, 2026
c502825
Rename Unevaluated to AliasConst in const_kind and accordingly update…
Shourya742 Jun 26, 2026
c200d2f
fixup the refactoring errors in 156246
jdonszelmann Jun 24, 2026
91c04df
cg_gcc: Fix Clippy lint fallout
flip1995 Jun 25, 2026
6c52a70
Limit splat AST and FnDecl to 255 args
teor2345 Jun 22, 2026
5d0c6ba
Impl HIR FnSig for #[splat]
teor2345 Jun 10, 2026
e0a35a0
Impl HIR typeck for #[splat]
teor2345 Jun 10, 2026
472c197
Remove a leftover direct call to fn_ctxt.label_generic_mismatches
teor2345 Jun 5, 2026
50c5d85
Fix ICE in `label_fn_like` when splatted arg index is out of bounds
Ajay-singh1 Jun 3, 2026
9e48cd9
Impl MIR lowering side-tables for #[splat]
teor2345 Jun 12, 2026
2bb9dab
Impl actual MIR lowering for #[splat]
teor2345 Jun 12, 2026
50c658c
Impl TypeInfo for splat
teor2345 Mar 11, 2026
dc3889a
Add UI tests for `#[splat]` unhappy path, generics, fn colors
Ajay-singh1 Jun 3, 2026
633b89b
Add failing test for #[splat] with dyn AsRef<T> where T: Tuple
Ajay-singh1 Jun 22, 2026
3173c8b
Add splat UI tests for 255 splatted arg limit
teor2345 Jun 22, 2026
18185d0
UI test arg diffs greater than u8::MAX
teor2345 Jun 23, 2026
810d2db
Update `doc_cfg` hide/show syntax
GuillaumeGomez May 25, 2026
dc7a2ce
Update `alloc` and `core` to new `doc_cfg` syntax
GuillaumeGomez Jun 11, 2026
f22107c
Update rustdoc to use new `doc_cfg` syntax
GuillaumeGomez Jun 12, 2026
3c92a3c
Move `doc-cfg` tests into the right location
GuillaumeGomez May 20, 2026
c383e5c
Add more regression tests for `doc(auto_cfg())`
GuillaumeGomez Jun 13, 2026
a3ad068
Update syntax information for `doc(auto_cfg(hide/show()))` in the rus…
GuillaumeGomez Jun 13, 2026
9653fd0
Add rustdoc-json test for `doc_cfg`
GuillaumeGomez Jun 17, 2026
702445c
Remove doc_cfg show/hide conflict error and correctly handle `values(…
GuillaumeGomez Jun 24, 2026
eb6346c
Auto merge of #158403 - flip1995:clippy-subtree-update, r=Manishearth
bors Jun 26, 2026
4d9ae09
Fix output normtn in splat-fn-ptr-tuple.rs
teor2345 Jun 26, 2026
5d41c45
Update Enzyme submodule
ZuseZ4 Jun 26, 2026
b049d2b
make use of rigidness marker in fast_reject
adwinwhite Jun 24, 2026
8b90f5c
Remove `FIXME` comment that is not needed anymore
GuillaumeGomez Jun 26, 2026
eb78d13
Replace `ilog(10)` with `ilog10()`
GuillaumeGomez Jun 26, 2026
3c00af9
Add supertrait item shadowing for type-level path resolution
Amanieu Feb 5, 2026
1efd5a6
Address review feedback
Amanieu Jun 3, 2026
e4ef1cf
Move supertrait shadowing tests to tests/ui/supertrait-shadowing
Amanieu Jun 3, 2026
af3eaee
Address review feedback for tests
Amanieu Jun 4, 2026
9260f2e
fix: don't produce invalid `Trait<A><B>` in "consider further restric…
Albab-Hasan Jun 26, 2026
69ffb8e
Rollup merge of #153697 - teor2345:fn-arg-splat-experiment, r=oli-obk
JonathanBrouwer Jun 26, 2026
64f56e7
Rollup merge of #158360 - oli-obk:borrowck-cleanups, r=lcnr
JonathanBrouwer Jun 26, 2026
8002964
Rollup merge of #158438 - adwinwhite:deep-reject, r=lcnr
JonathanBrouwer Jun 26, 2026
6fddd30
Rollup merge of #157127 - scottmcm:tweak-layout-of-alternative, r=nikic
JonathanBrouwer Jun 26, 2026
f5c2bd7
Rollup merge of #158376 - ChronoCoders:diag-eq-gt-closure-arg, r=chen…
JonathanBrouwer Jun 26, 2026
4631799
Rollup merge of #158185 - xmakro:perf/stable-crate-ids-lockfree, r=mu…
JonathanBrouwer Jun 26, 2026
8ee4336
Rollup merge of #158244 - kantnero:attribute-docs-deprecated-warn, r=…
JonathanBrouwer Jun 26, 2026
2ba8845
Rollup merge of #158355 - jdonszelmann:fixuop, r=lcnr
JonathanBrouwer Jun 26, 2026
a922cbc
Rollup merge of #158361 - obeis:move-check-ffi-pure, r=JonathanBrouwer
JonathanBrouwer Jun 26, 2026
d940e7e
Rollup merge of #158382 - yilin0518:fix_slice_index, r=clarfonthey
JonathanBrouwer Jun 26, 2026
f95bd0c
Rollup merge of #158399 - joboet:netbsd_threadname_truncate, r=jhpratt
JonathanBrouwer Jun 26, 2026
985d304
Rollup merge of #158418 - viliml:vec_into_array_unwrap_unchecked, r=D…
JonathanBrouwer Jun 26, 2026
7aa21c1
Rollup merge of #158430 - TaKO8Ki:fix-clone-suggestion-empty-obligati…
JonathanBrouwer Jun 26, 2026
f271ee6
Rollup merge of #158446 - ZuseZ4:main, r=oli-obk
JonathanBrouwer Jun 26, 2026
2ea8268
Rollup merge of #158448 - GuillaumeGomez:cleanup-numbuffer, r=Amanieu
JonathanBrouwer Jun 26, 2026
ce9954c
Auto merge of #155521 - Urgau:runtime-symbols, r=davidtwco
bors Jun 26, 2026
247e6e1
Add missing links in integer docs
GuillaumeGomez Jun 26, 2026
53cc2f8
std: fix xous dns ipv6 parsing off-by-one
devnexen Jun 26, 2026
87f3254
Cross-referencing tuple_trait tracking issue, source and the Unstable…
peter-lyons-kehl Jun 22, 2026
2592b41
Add test to confirm usage of unstable foreign type error
kantnero Jun 26, 2026
1676160
Auto merge of #158455 - JonathanBrouwer:rollup-3fPbHms, r=JonathanBro…
bors Jun 27, 2026
e7da124
Improve documentation on lint passes
nnethercote Jun 15, 2026
e983dd7
Fix a comment
nnethercote Jun 16, 2026
969db62
Rename `*CombinedModuleLateLintPass`
nnethercote Jun 18, 2026
cd8d703
Rename some lint pass things
nnethercote Jun 18, 2026
879aba1
Make `LintStore::*_lint_passes` non-`pub`
nnethercote Jun 18, 2026
b80ff2c
Update cargo submodules
weihanglo Jun 27, 2026
ca28237
move batch
zedddie Jun 27, 2026
f6ac864
bless batch
zedddie Jun 27, 2026
67f85db
Add proc macro for unused assignments and corresponding test
chenyukang Jun 27, 2026
d69c87a
Upgrade `jsonsocck` and `jsondoclint` to edition 2024.
obi1kenobi Jun 27, 2026
f9a88c6
Prepare for merging from rust-lang/rust
Jun 27, 2026
480ddb0
Add regression test for unexpected pointer dereference issue
chenyukang Jun 27, 2026
b3c27e5
Merge ref '16761606d606' from rust-lang/rust
Jun 27, 2026
4bbd8fc
Use infer tys for synthetic params when lowering const paths point to…
mu001999 Jun 8, 2026
972dd17
Merge pull request #5139 from rust-lang/rustup-2026-06-27
oli-obk Jun 27, 2026
1af87c1
Fix doc comment on get_debug_as_hex.
m-ou-se Jun 27, 2026
36cd136
Fix doc comment on FormattingOptions::new().
m-ou-se Jun 27, 2026
5fad8a6
Remove redundant dyn-compatibility check.
theemathas Jun 27, 2026
267c405
Auto merge of #158462 - weihanglo:update-cargo, r=weihanglo
bors Jun 27, 2026
74830a7
Move `check_target_feature` into the attribute parser
obeis Jun 23, 2026
fc35c23
add crashtests
cyrgani Jun 23, 2026
c3864be
rustdoc: show impl Trait<Box<Local>> for Foreign, etc on Local's docs
sunshowers Jun 27, 2026
dde5f49
fix: add regression test for invalid `Trait<A><B>` bound suggestion
Albab-Hasan Jun 27, 2026
cb41b6d
Auto merge of #158115 - Shourya742:2026-06-19-rename-unevaluatedConst…
bors Jun 27, 2026
cf443cb
add smoketest for std::net::hostname
RalfJung Jun 27, 2026
5eb878a
move batch
zedddie Jun 27, 2026
2e08805
fix: keep readable readiness when socket read end is closed
WhySoBad Jun 13, 2026
80f8d1c
avoid Windows quirk, and make write test consistent with read test
RalfJung Jun 27, 2026
eb9bdc4
bless batch
zedddie Jun 27, 2026
22c9087
std: treat ENFILE as transient in the pidfd support probe
valentynkit Jun 27, 2026
f67abfb
Merge pull request #5106 from WhySoBad/network-sockets-stay-readable-…
RalfJung Jun 27, 2026
29643cf
Merge pull request #5088 from RalfJung/dealloc-protected
RalfJung Jun 27, 2026
290b370
Merge pull request #5133 from RalfJung/native
RalfJung Jun 27, 2026
eb804b3
Rollup merge of #157871 - GuillaumeGomez:doc_cfg-syntax, r=Urgau
JonathanBrouwer Jun 27, 2026
20ca3e1
Rollup merge of #158234 - peter-lyons-kehl:unstable_book_tuple_trait,…
JonathanBrouwer Jun 27, 2026
6208d47
Rollup merge of #158480 - RalfJung:hostname-test, r=joboet
JonathanBrouwer Jun 27, 2026
ad69585
Rollup merge of #157625 - mu001999:fix-155834, r=JohnTitor
JonathanBrouwer Jun 27, 2026
dd01a7d
Rollup merge of #158290 - cyrgani:tests-incoming, r=nnethercote
JonathanBrouwer Jun 27, 2026
e2c515a
Rollup merge of #158306 - durin42:llvm-23-s390x-vec, r=JohnTitor
JonathanBrouwer Jun 27, 2026
ee6105a
Rollup merge of #158313 - obeis:move-check_target_feature, r=Jonathan…
JonathanBrouwer Jun 27, 2026
9b15098
Rollup merge of #158431 - nnethercote:more-lint-cleanups, r=Urgau
JonathanBrouwer Jun 27, 2026
522f803
Rollup merge of #158452 - GuillaumeGomez:missing-links, r=JohnTitor
JonathanBrouwer Jun 27, 2026
45a870a
Rollup merge of #158467 - chenyukang:yukang-rework-on-fix-unused_assi…
JonathanBrouwer Jun 27, 2026
0cad03c
Rollup merge of #158472 - chenyukang:yukang-fix-154568-unexpected-poi…
JonathanBrouwer Jun 27, 2026
30cb835
Rollup merge of #158475 - m-ou-se:fix-doc-comment, r=JonathanBrouwer
JonathanBrouwer Jun 27, 2026
a85522c
Rollup merge of #158476 - m-ou-se:doc-comment-fmt-options-new, r=Jona…
JonathanBrouwer Jun 27, 2026
9ab5135
Upgrade `rustdoc-json-types` to 2024 edition.
obi1kenobi Jun 27, 2026
13f1859
Auto merge of #158487 - JonathanBrouwer:rollup-ln8LEcs, r=JonathanBro…
bors Jun 27, 2026
f31f522
Support DefKind::InlineConst in UnevaluatedConst
khyperia Jun 27, 2026
aac0746
run x86 intrinsic tests natively
RalfJung Jun 27, 2026
a672666
run aarch64 intrinsic tests natively
RalfJung Jun 27, 2026
21dfe67
fix bug in `mpsadbw`
folkertdev Jun 27, 2026
18c10cd
Adds RmetaLinkCache a per-link cache that uses path as the key of dec…
mehdiakiki Jun 20, 2026
94888f0
update bless output
kantnero Jun 27, 2026
f734a15
Merge pull request #5140 from RalfJung/arch-intrinsic-native
RalfJung Jun 27, 2026
075f549
add `vqdmulh*` aarch64 intrinsics
folkertdev Jun 22, 2026
8e4a0e1
Merge pull request #5125 from folkertdev/vqdmulh
RalfJung Jun 27, 2026
9aaea56
Recover deferred closure calls after errors
Dnreikronos Jun 27, 2026
3515461
use `"llvm.prefetch.p0"` instead of `"llvm.prefetch"`
folkertdev Jun 27, 2026
96bf9d6
Revert "LLVM 23: Adapt codegen test to moved assume"
saethlin Jun 27, 2026
8b95a26
Auto merge of #158502 - saethlin:revert-flaky-codegen-test-fix, r=Jon…
bors Jun 27, 2026
6bc6675
Rollup merge of #158497 - folkertdev:stdarch-sync-2026-06-27, r=folke…
jhpratt Jun 28, 2026
f477b56
Rollup merge of #152225 - Amanieu:type-supertrait-shadowing, r=jackh726
jhpratt Jun 28, 2026
de0afe7
Rollup merge of #158194 - mehdiakiki:rlib-link-meta-cache, r=petroche…
jhpratt Jun 28, 2026
a1fbf7b
Rollup merge of #158466 - sunshowers:nested-fundamental, r=notriddle
jhpratt Jun 28, 2026
a1968bf
Rollup merge of #158501 - RalfJung:miri, r=RalfJung
jhpratt Jun 28, 2026
899a154
Rollup merge of #153097 - cuviper:expand-into_flat_iter, r=joboet
jhpratt Jun 28, 2026
1feba18
Rollup merge of #157614 - danieljofficial:move-tests-drop, r=Kivooeo
jhpratt Jun 28, 2026
f117ef7
Rollup merge of #157996 - xmakro:perf/projcache-entry-probe, r=nnethe…
jhpratt Jun 28, 2026
c997ea4
Rollup merge of #158163 - xmakro:fix-variances-cycle-recovery-count, …
jhpratt Jun 28, 2026
dc0e276
Rollup merge of #158233 - kantnero:allow-unstable-attr-on-target, r=J…
jhpratt Jun 28, 2026
d78d87a
Rollup merge of #158433 - yilin0518:fix_nonoverlapping_ranges, r=jhpratt
jhpratt Jun 28, 2026
2e43e58
Rollup merge of #158464 - zedddie:gsoc-batch-15-meow, r=Kivooeo
jhpratt Jun 28, 2026
f1313c1
Rollup merge of #158470 - obi1kenobi:pg/upgrade-json-tool-editions, r…
jhpratt Jun 28, 2026
8981bcf
Rollup merge of #158485 - zedddie:gsoc-batch-16-meow, r=Teapot4195,Ki…
jhpratt Jun 28, 2026
2f26f3a
Rollup merge of #158488 - obi1kenobi:pg/upgrade-rustdoc-json-types-ed…
jhpratt Jun 28, 2026
fd07dbf
Auto merge of #158508 - jhpratt:rollup-FKOfwV9, r=jhpratt
bors Jun 28, 2026
1182320
Auto merge of #158457 - devnexen:xous_ipv6_fix, r=joboet
bors Jun 28, 2026
77e396d
std: treat ENOMEM as transient in the pidfd support probe
valentynkit Jun 28, 2026
3d31306
Merge and reframe strict_provenance_lints
hanna-kruppe Jun 6, 2026
f96764a
Fix a / an typo in E0277
ElectrifyPro Jun 28, 2026
b140add
Bless ui tests
ElectrifyPro Jun 28, 2026
fd67621
Bless ui test runners
ElectrifyPro Jun 28, 2026
e87b275
add crashtests
cyrgani Jun 28, 2026
b4486ca
Auto merge of #157575 - hanna-kruppe:merge-strict-provenance-lints, r…
bors Jun 28, 2026
bd938c5
Include default-stability info in rustdoc JSON.
obi1kenobi Jun 27, 2026
0cc2ff8
Rollup merge of #158486 - valentynkit:pidfd-enfile-transient, r=joboet
JonathanBrouwer Jun 28, 2026
acdfef5
Rollup merge of #158454 - Albab-Hasan:fix-restrict-bound-double-angle…
JonathanBrouwer Jun 28, 2026
5a890e9
Rollup merge of #158518 - ElectrifyPro:20777-thing, r=JonathanBrouwer
JonathanBrouwer Jun 28, 2026
412fd6b
Rollup merge of #158519 - cyrgani:testing-2, r=Kivooeo
JonathanBrouwer Jun 28, 2026
2574810
Auto merge of #158524 - JonathanBrouwer:rollup-75ZlceV, r=JonathanBro…
bors Jun 28, 2026
e101c8d
tests: check wasm compiler_builtins object architecture
Vastargazing May 6, 2026
42d784a
Rollup merge of #156419 - jakubadamw:update-itertools-to-0.15, r=Mark…
JonathanBrouwer Jun 28, 2026
6b1bbf9
Rollup merge of #146561 - ijchen:panic_location_static, r=Mark-Simula…
JonathanBrouwer Jun 28, 2026
df6ee90
Auto merge of #158529 - JonathanBrouwer:rollup-rnUjpna, r=JonathanBro…
bors Jun 28, 2026
3fa872c
Increase `wasm-panic-small` byte limit by 5,000 bytes
bushrat011899 Jun 28, 2026
7fb284d
Auto merge of #155625 - bushrat011899:core_io_error, r=Mark-Simulacrum
bors Jun 29, 2026
5128fcb
Note where and why documentation hard-links are used
bushrat011899 Jun 29, 2026
63f05e3
Auto merge of #158477 - theemathas:del-dyn-compat-check, r=oli-obk
bors Jun 29, 2026
7dc2c16
Auto merge of #146275 - niacdoial:improperctypes-refactor3, r=jdonsze…
bors Jun 29, 2026
91a762b
Inline information of whether this segment is delegation's child segm…
aerooneqq Jun 29, 2026
cd55f64
fix typo in `-Z min-recursion-limit` unstable doc
lqd Jun 29, 2026
3056b8e
Use an explicit set to detect resolution cycles instead of `try_borro…
LorrensP-2158466 Jun 19, 2026
a60be48
llvm-wrapper: use accessors for private fields in LLVM 23+
liza371 Jun 29, 2026
0966944
Auto merge of #158035 - LorrensP-2158466:import-cycle-det, r=petroche…
bors Jun 29, 2026
7bfdb60
Comment on needed RAM in huge-stacks.rs
workingjubilee Jun 29, 2026
abbfd2c
Pass the whole `GenericArgs` to `Interner::for_each_relevant_impl()`
ChayimFriedman2 May 7, 2026
67b5ab7
Rollup merge of #155722 - jchlanda:jakub/pac, r=davidtwco
JonathanBrouwer Jun 30, 2026
5aa6dfb
Rollup merge of #156230 - Vastargazing:tests/wasm-compiler-builtins-o…
JonathanBrouwer Jun 30, 2026
38c8bac
Rollup merge of #156295 - ChayimFriedman2:for-each-impl-args, r=lcnr
JonathanBrouwer Jun 30, 2026
0c58e97
Rollup merge of #158375 - khyperia:inline-consts-in-type-system, r=Bo…
JonathanBrouwer Jun 30, 2026
1d86eaa
Rollup merge of #158556 - aerooneqq:delegation-child-segment-perf, r=…
JonathanBrouwer Jun 30, 2026
b198035
Rollup merge of #158081 - Dnreikronos:trait_system/deferred_closure_r…
JonathanBrouwer Jun 30, 2026
244d5c2
Rollup merge of #158468 - obi1kenobi:pg/default-body-stability, r=Gui…
JonathanBrouwer Jun 30, 2026
3277200
Rollup merge of #158543 - bushrat011899:core_io_hard_linked_docs, r=M…
JonathanBrouwer Jun 30, 2026
bc08a26
Rollup merge of #158564 - lqd:fix-doc, r=Kivooeo
JonathanBrouwer Jun 30, 2026
aa4c911
Rollup merge of #158568 - liza371:llvm-23-compat, r=nikic
JonathanBrouwer Jun 30, 2026
9779110
Rollup merge of #158582 - workingjubilee:add-comment-to-huge-stacks.r…
JonathanBrouwer Jun 30, 2026
3456328
Auto merge of #158593 - JonathanBrouwer:rollup-tGO5Zmu, r=JonathanBro…
bors Jun 30, 2026
f89e171
Add library support for `aarch64-unknown-linux-pauthtest`
jchlanda May 4, 2026
1098014
Use target_env = "musl" & target_abi = "pauthtest" instead of env
jchlanda May 11, 2026
f971add
Update landing pad to use addr()
jchlanda Jun 3, 2026
f16c778
PR feedback: Add library support
jchlanda Jul 1, 2026
0f43920
PR feedback: Use target_env
jchlanda Jul 1, 2026
4c59d2c
Use rust_force_inline on sign_lpad function
jchlanda Jul 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
54 changes: 32 additions & 22 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ dependencies = [
"color-print",
"declare_clippy_lint",
"filetime",
"itertools",
"itertools 0.12.1",
"pulldown-cmark",
"regex",
"rustc_tools_util 0.4.2",
Expand All @@ -705,7 +705,7 @@ name = "clippy_config"
version = "0.1.98"
dependencies = [
"clippy_utils",
"itertools",
"itertools 0.12.1",
"serde",
"toml 0.7.8",
"walkdir",
Expand All @@ -718,7 +718,7 @@ dependencies = [
"chrono",
"clap",
"indoc",
"itertools",
"itertools 0.12.1",
"opener",
"rustc-literal-escaper",
"walkdir",
Expand All @@ -733,7 +733,7 @@ dependencies = [
"clippy_config",
"clippy_utils",
"declare_clippy_lint",
"itertools",
"itertools 0.12.1",
"quine-mc_cluskey",
"regex-syntax",
"semver",
Expand All @@ -751,7 +751,7 @@ version = "0.0.1"
dependencies = [
"clippy_config",
"clippy_utils",
"itertools",
"itertools 0.12.1",
"regex",
"rustc-semver",
]
Expand All @@ -761,7 +761,7 @@ name = "clippy_utils"
version = "0.1.98"
dependencies = [
"arrayvec",
"itertools",
"itertools 0.12.1",
"rustc_apfloat",
"serde",
]
Expand Down Expand Up @@ -933,7 +933,7 @@ name = "coverage-dump"
version = "0.1.0"
dependencies = [
"anyhow",
"itertools",
"itertools 0.15.0",
"leb128",
"md-5",
"miniz_oxide",
Expand Down Expand Up @@ -2129,6 +2129,15 @@ dependencies = [
"either",
]

[[package]]
name = "itertools"
version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8b4baf93f58d4425749ca49a51c50ebab072c5df6994d08fed93541c331481dc"
dependencies = [
"either",
]

[[package]]
name = "itoa"
version = "1.0.15"
Expand Down Expand Up @@ -3686,7 +3695,7 @@ dependencies = [
name = "rustc_ast_passes"
version = "0.0.0"
dependencies = [
"itertools",
"itertools 0.15.0",
"rustc_abi",
"rustc_ast",
"rustc_ast_pretty",
Expand All @@ -3706,7 +3715,7 @@ dependencies = [
name = "rustc_ast_pretty"
version = "0.0.0"
dependencies = [
"itertools",
"itertools 0.15.0",
"rustc_ast",
"rustc_lexer",
"rustc_span",
Expand Down Expand Up @@ -3750,7 +3759,7 @@ name = "rustc_borrowck"
version = "0.0.0"
dependencies = [
"either",
"itertools",
"itertools 0.15.0",
"polonius-engine",
"rustc_abi",
"rustc_data_structures",
Expand Down Expand Up @@ -3804,7 +3813,7 @@ version = "0.0.0"
dependencies = [
"bitflags",
"gimli 0.31.1",
"itertools",
"itertools 0.15.0",
"libc",
"libloading 0.9.0",
"measureme",
Expand Down Expand Up @@ -3840,7 +3849,7 @@ dependencies = [
"bitflags",
"bstr",
"find-msvc-tools",
"itertools",
"itertools 0.15.0",
"libc",
"object 0.37.3",
"pathdiff",
Expand Down Expand Up @@ -4110,7 +4119,7 @@ dependencies = [
name = "rustc_hir_analysis"
version = "0.0.0"
dependencies = [
"itertools",
"itertools 0.15.0",
"rustc_abi",
"rustc_arena",
"rustc_ast",
Expand Down Expand Up @@ -4157,7 +4166,7 @@ dependencies = [
name = "rustc_hir_typeck"
version = "0.0.0"
dependencies = [
"itertools",
"itertools 0.15.0",
"rustc_abi",
"rustc_ast",
"rustc_data_structures",
Expand Down Expand Up @@ -4312,6 +4321,7 @@ dependencies = [
"rustc_parse_format",
"rustc_session",
"rustc_span",
"rustc_symbol_mangling",
"rustc_target",
"rustc_trait_selection",
"smallvec",
Expand Down Expand Up @@ -4435,7 +4445,7 @@ dependencies = [
name = "rustc_mir_build"
version = "0.0.0"
dependencies = [
"itertools",
"itertools 0.15.0",
"rustc_abi",
"rustc_apfloat",
"rustc_arena",
Expand Down Expand Up @@ -4479,7 +4489,7 @@ name = "rustc_mir_transform"
version = "0.0.0"
dependencies = [
"either",
"itertools",
"itertools 0.15.0",
"rustc_abi",
"rustc_arena",
"rustc_ast",
Expand Down Expand Up @@ -4684,7 +4694,7 @@ name = "rustc_resolve"
version = "0.0.0"
dependencies = [
"indexmap",
"itertools",
"itertools 0.15.0",
"pulldown-cmark",
"rustc_arena",
"rustc_ast",
Expand Down Expand Up @@ -4846,7 +4856,7 @@ checksum = "a3b75158011a63889ba12084cf1224baad7bcad50f6ee7c842f772b74aa148ed"
name = "rustc_trait_selection"
version = "0.0.0"
dependencies = [
"itertools",
"itertools 0.15.0",
"rustc_abi",
"rustc_ast",
"rustc_data_structures",
Expand Down Expand Up @@ -4880,7 +4890,7 @@ dependencies = [
name = "rustc_transmute"
version = "0.0.0"
dependencies = [
"itertools",
"itertools 0.15.0",
"rustc_abi",
"rustc_data_structures",
"rustc_hir",
Expand All @@ -4894,7 +4904,7 @@ dependencies = [
name = "rustc_ty_utils"
version = "0.0.0"
dependencies = [
"itertools",
"itertools 0.15.0",
"rustc_abi",
"rustc_data_structures",
"rustc_errors",
Expand Down Expand Up @@ -4971,7 +4981,7 @@ dependencies = [
"base64",
"expect-test",
"indexmap",
"itertools",
"itertools 0.15.0",
"minifier",
"proc-macro2",
"pulldown-cmark-escape",
Expand Down Expand Up @@ -5059,7 +5069,7 @@ dependencies = [
"dirs",
"getopts",
"ignore",
"itertools",
"itertools 0.12.1",
"regex",
"rustfmt-config_proc_macro",
"semver",
Expand Down
10 changes: 6 additions & 4 deletions compiler/rustc_ast/src/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3059,21 +3059,23 @@ impl FnDecl {
}

/// The marker index for "no splatted arguments".
/// Higher values are also not supported, for performance reasons.
///
/// Must have the same value as `FnSigKind::NO_SPLATTED_ARG_INDEX` and `FnDeclFlags::NO_SPLATTED_ARG_INDEX`.
pub const NO_SPLATTED_ARG_INDEX: u16 = u16::MAX;
pub const NO_SPLATTED_ARG_INDEX: u8 = u8::MAX;

/// Returns a splatted argument index, if any are present.
pub fn splatted(&self) -> Option<u16> {
pub fn splatted(&self) -> Option<u8> {
self.inputs.iter().enumerate().find_map(|(index, arg)| {
if index == Self::NO_SPLATTED_ARG_INDEX as usize {
if index >= usize::from(Self::NO_SPLATTED_ARG_INDEX) {
// AST validation has already checked the splatted argument index is valid, so just
// ignore invalid indexes here.
None
} else {
arg.attrs
.iter()
.any(|attr| attr.has_name(sym::splat))
.then_some(u16::try_from(index).unwrap())
.then_some(u8::try_from(index).unwrap())
}
})
}
Expand Down
12 changes: 8 additions & 4 deletions compiler/rustc_ast_lowering/src/delegation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ use rustc_span::def_id::{DefId, LocalDefId};
use rustc_span::symbol::kw;
use rustc_span::{ErrorGuaranteed, Ident, Span, Symbol};

use crate::delegation::generics::{GenericsGenerationResult, GenericsGenerationResults};
use crate::delegation::generics::{
GenericsGenerationResult, GenericsGenerationResults, GenericsPosition,
};
use crate::diagnostics::{
CycleInDelegationSignatureResolution, DelegationAttemptedBlockWithDefsDeletion,
DelegationBlockSpecifiedWhenNoParams, UnresolvedDelegationCallee,
Expand Down Expand Up @@ -93,7 +95,7 @@ struct ParamInfo {
pub c_variadic: bool,

/// The index of the splatted parameter, if any.
pub splatted: Option<u16>,
pub splatted: Option<u8>,
}

const PARENT_ID: hir::ItemLocalId = hir::ItemLocalId::ZERO;
Expand Down Expand Up @@ -364,11 +366,10 @@ impl<'hir> LoweringContext<'_, 'hir> {
fn param_info(&self, def_id: DefId) -> ParamInfo {
let sig = self.tcx.fn_sig(def_id).skip_binder().skip_binder();

// FIXME(splat): use `sig.splatted()` once FnSig has it
ParamInfo {
param_count: sig.inputs().len() + usize::from(sig.c_variadic()),
c_variadic: sig.c_variadic(),
splatted: None,
splatted: sig.splatted(),
}
}

Expand Down Expand Up @@ -506,6 +507,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
res: Res::Local(param_id),
args: None,
infer_args: false,
delegation_child_segment: false,
}));

let path = self.arena.alloc(hir::Path { span, res: Res::Local(param_id), segments });
Expand Down Expand Up @@ -715,6 +717,8 @@ impl<'hir> LoweringContext<'_, 'hir> {
result.args_segment_id = segment.hir_id;
result.use_for_sig_inheritance = !result.generics.is_trait_impl();

segment.delegation_child_segment = result.generics.pos() == GenericsPosition::Child;

segment
}

Expand Down
12 changes: 10 additions & 2 deletions compiler/rustc_ast_lowering/src/delegation/generics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use rustc_span::{Ident, Span, sym};
use crate::LoweringContext;
use crate::diagnostics::DelegationInfersMismatch;

#[derive(Debug, Clone, Copy)]
#[derive(Debug, Clone, Copy, Eq, PartialEq)]
pub(super) enum GenericsPosition {
Parent,
Child,
Expand Down Expand Up @@ -155,7 +155,7 @@ impl<'hir> DelegationGenericArgsIterator<'hir> {
impl<'hir> HirOrTyGenerics<'hir> {
pub(super) fn into_hir_generics(&mut self, ctx: &mut LoweringContext<'_, 'hir>, span: Span) {
if let HirOrTyGenerics::Ty(ty) = self {
let rename_self = matches!(ty.pos, GenericsPosition::Child);
let rename_self = ty.pos == GenericsPosition::Child;
let params = ctx.uplift_delegation_generic_params(span, &ty.data, rename_self);

*self = HirOrTyGenerics::Hir(DelegationGenerics {
Expand Down Expand Up @@ -218,6 +218,13 @@ impl<'hir> HirOrTyGenerics<'hir> {
.expect("`Self` generic param is not found while expected"),
}
}

pub(crate) fn pos(&self) -> GenericsPosition {
match self {
HirOrTyGenerics::Ty(ty) => ty.pos,
HirOrTyGenerics::Hir(hir) => hir.pos,
}
}
}

impl<'hir> GenericsGenerationResult<'hir> {
Expand Down Expand Up @@ -590,6 +597,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
ident: p.name.ident(),
infer_args: false,
res,
delegation_child_segment: false,
}]),
res,
span: p.span,
Expand Down
3 changes: 2 additions & 1 deletion compiler/rustc_ast_lowering/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
res,
args,
infer_args: args.is_none(),
delegation_child_segment: false,
}]),
})
}
Expand Down Expand Up @@ -2791,7 +2792,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
}
ExprKind::ConstBlock(anon_const) => {
let def_id = self.local_def_id(anon_const.id);
assert_eq!(DefKind::AnonConst, self.tcx.def_kind(def_id));
assert_eq!(DefKind::InlineConst, self.tcx.def_kind(def_id));
self.lower_anon_const_to_const_arg(anon_const, span)
}
_ => overly_complex_const(self),
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_ast_lowering/src/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
} else {
Some(generic_args.into_generic_args(self))
},
delegation_child_segment: false,
}
}

Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_ast_passes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2024"

[dependencies]
# tidy-alphabetical-start
itertools = "0.12"
itertools = "0.15"
rustc_abi = { path = "../rustc_abi" }
rustc_ast = { path = "../rustc_ast" }
rustc_ast_pretty = { path = "../rustc_ast_pretty" }
Expand Down
6 changes: 3 additions & 3 deletions compiler/rustc_ast_passes/src/ast_validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -412,11 +412,11 @@ impl<'a> AstValidator<'a> {
})
.unzip();

// A splatted argument at the "no splatted" marker index is not supported (this is an
// unlikely edge case).
// A splatted argument greater than or equal to the "no splatted" marker index is not
// supported.
if let (Some(&splatted_arg_index), Some(&splatted_span)) =
(splatted_arg_indexes.last(), splatted_spans.last())
&& splatted_arg_index == FnDecl::NO_SPLATTED_ARG_INDEX
&& splatted_arg_index >= u16::from(FnDecl::NO_SPLATTED_ARG_INDEX)
{
self.dcx().emit_err(diagnostics::InvalidSplattedArg {
splatted_arg_index,
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_ast_pretty/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2024"

[dependencies]
# tidy-alphabetical-start
itertools = "0.12"
itertools = "0.15"
rustc_ast = { path = "../rustc_ast" }
rustc_lexer = { path = "../rustc_lexer" }
rustc_span = { path = "../rustc_span" }
Expand Down
Loading