Skip to content

Upgrade rust 1.94 - #144

Merged
Ziqiao Zhou (ziqiaozhou) merged 6 commits into
mainfrom
upgrade-rust-1.94
Jul 8, 2026
Merged

Upgrade rust 1.94#144
Ziqiao Zhou (ziqiaozhou) merged 6 commits into
mainfrom
upgrade-rust-1.94

Conversation

@ziqiaozhou

Copy link
Copy Markdown
Contributor

No description provided.

6201944f34e Auto merge of #151183 - jhpratt:rollup-GxmJbns, r=jhpratt
f1b51f3caf4 Rollup merge of #151164 - euler-gamma-golden-ratio, r=jhpratt
a8767bddf57 Rollup merge of #151082 - issue-141403, r=Kivooeo
1c40409db35 Rollup merge of #150611 - from-bool-float-test, r=tgross35
1e3a38bf1a2 Rollup merge of #150607 - dispatch-ptr-intrinsic, r=workingjubilee
3391291018e Auto merge of #151144 - JonathanBrouwer:rollup-QW4Ug5q, r=JonathanBrouwer
88369d48fc2 Rollup merge of #151117 - reduce_deps, r=Kobzol
e9bac36a168 Rollup merge of #150962 - rm/feed_const_ty, r=BoxyUwU
8343fea62ac Rollup merge of #150586 - intra-doc-assoc-alias, r=GuillaumeGomez
93b314449d9 Rollup merge of #150585 - issue-149559, r=petrochenkov
f05482946b4 Auto merge of #130998 - the8472:bail-before-memcpy, r=nnethercote
6e8cc0c0c3a Auto merge of #151107 - JonathanBrouwer:rollup-9CIxxuZ, r=JonathanBrouwer
812f9252a08 Rollup merge of #151096 - rm-providers-deref, r=oli-obk
aad746d32c0 Remove `Deref`/`DerefMut` impl for `Providers`.
4456fb45e65 Rollup merge of #151035 - issue-150693-closure-arg-suggestion, r=jieyouxu
a3b5c6b0d98 Rollup merge of #151032 - main, r=Urgau
17bcbd73014 Rollup merge of #151029 - rdg-sync, r=tshepang
160db929dd6 Auto merge of #151003 - matthiaskrgr:rollup-wvnF9sN, r=matthiaskrgr
81a33531009 Rollup merge of #150986 - bishop-fix-read, r=ChrisDenton
e7c79865621 Rollup merge of #150980 - fix-ice-150673, r=fee1-dead
53758052012 Rollup merge of #150972 - rename-attrs, r=kivooeo
56d1b6264f1 Merge pull request #2721 from rust-lang/rustc-pull
c4c899a56b5 rename extern item to foreign item
bf585702b8c rename eii-extern-target
980f5eb8004 Rollup merge of #150906 - eii-ecx-mehods, r=Kivooeo
df5934f8313 Rollup merge of #150790 - lexer/help-invisible-character, r=Kivooeo,tgross35
911912a518f Rollup merge of #149718 - windows_freeze_file_times, r=ChrisDenton
1e36c23f006 Auto merge of #150932 - weihanglo:update-cargo, r=weihanglo Update cargo submodule
84e25e685a5 Auto merge of #150957 - matthiaskrgr:rollup-Cf6MsNU, r=matthiaskrgr Rollup of 14 pull requests
88a28ec676b Rollup merge of #150918 - uefi-fs-seek, r=jhpratt
091429677fe Rollup merge of #150862 - uefi-fs-flush, r=the8472
4a3f5087559 Rollup merge of #150743 - docs/iterator, r=Mark-Simulacrum
2a57bb20f41 Rollup merge of #150668 - stdio-swap, r=Mark-Simulacrum,RalfJung
b967abc08d3 Rollup merge of #150368 - minicore-ordering, r=workingjubilee
bdba64c8d32 Rollup merge of #148941 - stabilize-map-if, r=jhpratt
35d9b6ed5e4 Auto merge of #150540 - JonathanBrouwer:incremental_test, r=cjgillot Also hash spans inside the same file as relative (V2)
2e5dc70681e Auto merge of #150951 - Zalathar:rollup-xhWLriD, r=Zalathar Rollup of 12 pull requests
450e98d7e54 Rollup merge of #150878 - bpf_staticlib_error, r=Urgau
ea1628fec17 Auto merge of #150502 - petrochenkov:overglob, r=yaahc resolve: Factor out and document the glob binding overwriting logic
60792258dbb Rollup merge of #150891 - def-id-typo, r=Kivooeo
71a02eaaf75 Rollup merge of #150881 - fix-wasi-fs-copy, r=alexcrichton
04641b7a1d0 Rollup merge of #150853 - uefi-fs-read, r=joboet
1dce3bf9199 Rollup merge of #150822 - fix-149981, r=@Kivooeo
6327cbeb51a Rollup merge of #149318 - slice_partial_sort_unstable, r=tgross35
d30519756fa Reduce visibility of some errors
bba25f60416 Emit an error for linking staticlibs on BPF
563610e1aaa Auto merge of #150866 - GuillaumeGomez:rollup-puFKE8I, r=GuillaumeGomez Rollup of 11 pull requests
31ed86c5652 Rollup merge of #150834 - multiple_supertrait_upcastable-not-internal, r=Kivooeo
c20f34aa41d Rollup merge of #150808 - derive-internals, r=jhpratt
9a49ce1185c Rollup merge of #150561 - semiopaque, r=BoxyUwU
950b9320352 Rollup merge of #150385 - fix-expr-can-have-side-effects, r=jdonszelmann,samueltardieu
b1a2f57f1d6 Rollup merge of #150272 - doc/improve-iter-find-docs, r=scottmcm
84318a192eb Add amdgpu_dispatch_ptr intrinsic
76558937f89 Auto merge of #150265 - scottmcm:vec-less-ubchecks, r=jhpratt Stop emitting UbChecks on every Vec→Slice
0b60f5c8e6b fix up diagnostics referring to the right items
5fb381d10f0 dont resolve defaults anymore, store foreign item defid instead of macro
3f1fc126ac3 turn panics into `span_delayed_bug` to make sure this pattern doesn't go unnoticed
a79de5e6e17 Auto merge of #150839 - matthiaskrgr:rollup-3a0ebXJ, r=matthiaskrgr Rollup of 11 pull requests
f66e570fc1f Rollup merge of #150811 - defid-aliases, r=bjorn3
b51ba2b1125 Rollup merge of #150825 - move-items, r=JonathanBrouwer
c2b7fc56b93 Auto merge of #148545 - cramertj:alloc-map, r=Amanieu Add allocator parameter to HashMap
225737b6502 Auto merge of #150810 - matthiaskrgr:rollup-fXh6V3q, r=matthiaskrgr Rollup of 10 pull requests
6d8839a9bbd Rollup merge of #150164 - fix-wasm-export-executable-symbols, r=jdonszelmann
7e324849c89 store defids instead of symbol names in the aliases list
2a3076cedf5 Auto merge of #150538 - Kobzol:dist-cg-gcc-component, r=jieyouxu Add a dist component for cg_gcc
d9435fec41e Auto merge of #150798 - matthiaskrgr:rollup-ANxstUE, r=matthiaskrgr Rollup of 6 pull requests
dd5e867bb09 Rollup merge of #150791 - w/mismatch, r=jieyouxu
12dd53d5515 Auto merge of #150783 - Kobzol:bors-email-update, r=jieyouxu Update bors e-mail lookup
2051c0f297f Auto merge of #150784 - Kobzol:rollup-0mvdoy5, r=Kobzol Rollup of 4 pull requests
ce1abe00181 Auto merge of #148339 - folkertdev:naked-macos-private-extern, r=Amanieu naked functions: emit `.private_extern` on macos
97bd4ae53ae Fix `alloc_error_handler` signature mismatch
214e94f3609 Auto merge of #150729 - matthiaskrgr:rollup-an2m4zg, r=matthiaskrgr
fa43f12d723 Rollup merge of #150704 - Kivooeo:const-ctor, r=BoxyUwU
e1477f929ff Rollup merge of #150026 - Delta17920:fix/150002-macro-concat-bug, r=jdonszelmann
c6ef1408b6a naked functions: emit `.private_extern` on macos
74f26bdc36c Auto merge of #150726 - JonathanBrouwer:rollup-yseerwy, r=JonathanBrouwer
7e8babaa506 Rollup merge of #150122 - reddevilmidzy:refactor, r=lcnr
b32935e7f8e Rollup merge of #149880 - durin42:llvm-22-ppc-aix-layout, r=nikic
29b3ede9f14 Auto merge of #147893 - fee1-dead-contrib:constheapheapheap, r=oli-obk
87040cec9c7 Auto merge of #150640 - AprilNEA:mgca-merge-associated-const-equality, r=BoxyUwU
24050e63d11 Auto merge of #150702 - lnicola:sync-from-ra, r=lnicola
ff60d1802bd Rollup merge of #150697 - hkBst:relate-3, r=Kivooeo
2f85b082c09 Rollup merge of #150384 - reddevilmidzy:t14, r=Kivooeo
87e9cacaa44 Rollup merge of #149790 - JonathanBrouwer:attr-path-perf, r=jdonszelmann
c6b6e3a1670 Merge `associated_const_equality` feature gate into MGCA
d4aa3160175 Auto merge of #150603 - Kivooeo:tuple-struct, r=BoxyUwU
ced69a35978 Auto merge of #150682 - matthiaskrgr:rollup-jrkhivl, r=matthiaskrgr
094a8399cb5 Rollup merge of #150426 - ZuseZ4:offload-register-lib, r=davidtwco
b82ebdf05be Auto merge of #150674 - matthiaskrgr:rollup-tnkgbcx, r=matthiaskrgr
6fb9e6cfa03 Rollup merge of #150671 - RalfJung:miri, r=RalfJung
1dccde45787 Auto merge of #150669 - Zalathar:rollup-7ar4hqp, r=Zalathar
b02778b9940 Rollup merge of #150650 - enthropy7:main, r=BoxyUwU
863469ba41c Rollup merge of #150642 - hkBst:needless-maybe-sized-1, r=jhpratt
9df4f31a7a0 Auto merge of #146341 - Qelxiros:dirfd-minimum, r=tgross35
65ade885433 Merge pull request #4802 from rust-lang/rustup-2026-01-04
03be86871fc Auto merge of #150595 - antonilol:deque_extend_front_prepend_drain_spec, r=jhpratt
5e64e586e73 Merge ref 'f57b9e6f565a' from rust-lang/rust
1b77932129a Auto merge of #150655 - matthiaskrgr:rollup-8oshivb, r=matthiaskrgr
c7779d26baf Rollup merge of #150596 - reddevilmidzy:add-tracking, r=BoxyUwU
79b69639493 Auto merge of #150564 - rwardd:rwardd/option_or_codegen_tests, r=scottmcm
a5330c4bfbb Auto merge of #150639 - usamoi:stdarch, r=sayantn
31a234e01b9 Auto merge of #150644 - matthiaskrgr:rollup-ey900sr, r=matthiaskrgr
32834062a33 Rollup merge of #150641 - joboet:netbsd-bindings, r=tgross35
304aca37f45 Rollup merge of #145339 - Ayush1325:uefi-tcp4-accept, r=tgross35
15a6117252a Auto merge of #150638 - matthiaskrgr:rollup-924nozj, r=matthiaskrgr
70b06e501dd Auto merge of #145948 - a4lg:riscv-stabilize-target-features-v2, r=Amanieu
68ba8eca4f3 Merge pull request #4801 from rust-lang/rustup-2026-01-03
8bac797e712 Auto merge of #150633 - JonathanBrouwer:rollup-lfp28cm, r=JonathanBrouwer
449e1e0d08b Rollup merge of #150632 - tshepang:rdg-sync, r=tshepang
81d367c7e50 Merge pull request #2717 from rust-lang/rustc-pull
fb12c22b190 Rollup merge of #149991 - Flakebi:gpu-kernel-cc, r=workingjubilee
02363ed2d60 Auto merge of #150563 - JonathanBrouwer:rollup-9ncjbou, r=JonathanBrouwer
a58a27e350a Rollup merge of #150529 - rustbot:docs-update, r=ehuss
c4e30672635 Rollup merge of #150454 - tiif:move_variadic, r=oli-obk
34319197b89 Auto merge of #150523 - Kivooeo:add-check-for-u8, r=BoxyUwU
94668b5b9b4 Auto merge of #150559 - JonathanBrouwer:rollup-59hbbmm, r=JonathanBrouwer
2968c0cd93d Merge ref '2394f5ae9f16' from rust-lang/rust
ee3780b3c2f Rollup merge of #150555 - adamgreig:armv7-thumb-interwork, r=chenyukang
71c17224188 Rollup merge of #150548 - dianne:temp-scope-extension-loop-rewrite, r=BoxyUwU
5760cc9017c Rollup merge of #149778 - tbu-:pr_crate_io_result, r=Mark-Simulacrum
999e34f0491 Auto merge of #150520 - malbarbo:case_get_unchecked, r=jhpratt
2394f5ae9f1 Auto merge of #150289 - rami3l:dist/rustc-docs-dist-path, r=jieyouxu
414ac9dbc87 Auto merge of #150546 - JonathanBrouwer:rollup-jkqji1j, r=JonathanBrouwer
59dbcec429c Rollup merge of #150543 - lnicola:sync-from-ra, r=lnicola
29641a12136 Auto merge of #150542 - JonathanBrouwer:rollup-3fjgrji, r=JonathanBrouwer
f07420c5c12 Rollup merge of #150193 - Bryntet:parse_instruction_set, r=JonathanBrouwer
78a6f00344f Port `#[instruction_set]` to attribute parser
1f4f37b1cc5 Auto merge of #150526 - JonathanBrouwer:rollup-j9hy7fm, r=JonathanBrouwer
1b535af8ac3 Rollup merge of #150501 - qb42:patch-1, r=workingjubilee
894ca95b879 Rollup merge of #150420 - h3fang:sve-debuginfo-fix, r=workingjubilee
329d268b54b Rollup merge of #150483 - RalfJung:miri, r=RalfJung
19e6e67590a Merge pull request #4796 from RalfJung/data-race-ice
f1d0d7b5fc8 Rollup merge of #150262 - hkBst:slice-iter-2, r=joboet
164befd9b64 Rollup merge of #150108 - ZuseZ4:offload-build-rework, r=Kobzol
467286bf16a Merge pull request #4795 from rust-lang/rustup-2025-12-29
d7fb9cb5aac Merge ref '7fefa09b90ca' from rust-lang/rust
165d549cac6 Rollup merge of #149921 - Kobzol:src-gpl, r=Mark-Simulacrum
c3020c41358 Merge pull request #4794 from rust-lang/rustup-2025-12-28
557760cd531 fix condition checks for SVE <vscale x N x i1> when N != 16
465e81387c3 fix typo and rephrase
89578d1022d Merge ref '23d01cd24125' from rust-lang/rust
febe7f5e3b3 Auto merge of #150448 - matthiaskrgr:rollup-d52y317, r=matthiaskrgr
91078134e1a Rollup merge of #150434 - AprilNEA:test-125364-never-type-try-blocks, r=WaffleLapkin
1b7336678c7 Rollup merge of #148533 - bjorn3:split_llvm_intrinsic_abi_handling, r=WaffleLapkin
e71863d8b76 Rollup merge of #150358 - fee1-dead-contrib:push-utvysrrzsvvm, r=oli-obk
77fe547db0a Add a hack for llvm.wasm.throw
eaab6de955c Partially inline get_fn_addr/get_fn in codegen_llvm_intrinsic_call
f6f0cb36604 Fix for uninhabited llvm intrinsic return type
1fd9be0af5f Move llvm intrinsic call to backend
cad200a9710 Split out ABI handling for LLVM intrinsics
4b58fb5b656 Rollup merge of #150405 - estebank:matches-could-be-equals, r=Kivooeo
6fc9bdef6c0 Merge pull request #4789 from rust-lang/rustup-2025-12-27
098c3d50ad7 Merge ref '38ed7700e7ba' from rust-lang/rust
2b14c2140ac Auto merge of #150388 - reddevilmidzy:hir-analysis, r=Kivooeo
acf036a136d Auto merge of #150357 - ZuseZ4:zusez4-stdarch-push, r=sayantan
28ac9e2a6cb Merge pull request #21330 from A4-Tacks/to-guarded-indent
ac33763e488 Merge pull request #21249 from Shourya742/2025-11-27-bidirectional-protocol
8ffef08a033 Auto merge of #150376 - JonathanBrouwer:rollup-6umj8ur, r=JonathanBrouwer
b7e371d3559 Rollup merge of #150371 - cyrgani:pm-cleanups-again, r=petrochenkov
2ba5cb9ff7d Auto merge of #150347 - aerooneqq:generics-unreachable-ice, r=petrochenkov
b7d9da87973 Merge pull request #21331 from rust-lang/rustc-pull
064ca88a20a Auto merge of #150351 - JonathanBrouwer:rollup-knpqs9d, r=JonathanBrouwer
f26cdafe56f Auto merge of #150343 - JonathanBrouwer:rollup-1mwkrdv, r=JonathanBrouwer
e73cad92f63 Rollup merge of #150311 - ChrisDenton:no-temp, r=Kivooeo
fb24666d412 Auto merge of #150334 - jhpratt:rollup-met2i6d, r=jhpratt
42c7b0f053a Rollup merge of #150139 - GKFX:clone-docs, r=jhpratt
8460cddca82 Rollup merge of #150016 - usamoi:stabilize-lazy-get, r=jhpratt
a3ba7f6986a Avoid using env::temp when linking a binary
af728133029 Auto merge of #150283 - Urgau:remap-debuginfo-absolute, r=jieyouxu
f592b153530 Merge pull request #4787 from rust-lang/rustup-2025-12-24
aa39f4f61bf Merge ref '8796b3b8b4ac' from rust-lang/rust
55f72a9cc9c Auto merge of #150324 - matthiaskrgr:rollup-cl7wrqn, r=matthiaskrgr
2180245e4a0 Rollup merge of #150314 - tshepang:rdg-sync, r=tshepang
f7d89f9f40a Make `ValTree` recurse through `ty::Const`
470447aaff2 Auto merge of #150306 - JonathanBrouwer:rollup-pxp25ib, r=JonathanBrouwer
3310048201a Rollup merge of #150130 - aerooneqq:delegation-one-line-trait-impl, r=petrochenkov
6850a1f1f08 Merge pull request #4786 from rust-lang/rustup-2025-12-23
57d0e9518cf Auto merge of #150133 - ZuseZ4:enzyme-frontend-nightly, r=jieyouxu
a1c0c04f38c Auto merge of #150217 - notriddle:stringdex-0.0.4, r=yotamofek,GuillaumeGomez
f9a9b88a6db Auto merge of #150284 - JonathanBrouwer:rollup-yeibc0p, r=JonathanBrouwer
cd77d03215e Rollup merge of #150281 - RalfJung:miri, r=RalfJung
6f50820c462 Auto merge of #150277 - JonathanBrouwer:rollup-gvmdw36, r=JonathanBrouwer
1b7d2b12f15 Rollup merge of #150274 - ada4a:patch-4, r=Kivooeo
d0bbffa45d5 Rollup merge of #150267 - lnicola:sync-from-ra, r=lnicola
1051e579689 Make attr path symbols rather than idents
6b05a70c638 Auto merge of #150187 - RalfJung:visitor-in-mem-order, r=nnethercote
d7e5e6f62c5 Auto merge of #150240 - JonathanBrouwer:rollup-anx8c35, r=JonathanBrouwer
60aae6d48c8 Auto merge of #148766 - cjgillot:mir-const-runtime-checks, r=RalfJung,saethlin
02e2214be75 Rollup merge of #150082 - Enselic:hrtb-fn-pointer, r=fee1-dead
28e214dd78a Rollup merge of #150035 - agavra:patch-1, r=Mark-Simulacrum
dcc15f0fa8a Merge pull request #4782 from rust-lang/rustup-2025-12-21
18b3e9f1b09 Merge ref 'cb79c42008b9' from rust-lang/rust
53317820362 Auto merge of #150199 - JonathanBrouwer:rollup-pjxlhel, r=JonathanBrouwer
1c4c084ba61 Rollup merge of #150198 - Bryntet:parse_thread_local, r=JonathanBrouwer
34dfa005ffa Port `#[thread_local]` to attribute parser
566f407fbb5 Rollup merge of #150012 - heiher:loong-efiapi, r=davidtwco
096b16fd3f3 Rollup merge of #149633 - tgross35:freebsd-outline-atomics, r=davidtwco
322f59e13bd Auto merge of #150056 - Kivooeo:trying-to-address-perf, r=davidtwco
68cd872993f rustc: Fix `-Zexport-executable-symbols` on wasm
a0fc6a0f12e Auto merge of #150158 - Zalathar:rollup-dqazzrn, r=Zalathar
5a1d02b562f Rollup merge of #150150 - jdonszelmann:move-eii-tests, r=JonathanBrouwer
d52fd0fc4a1 Rollup merge of #150121 - Zalathar:pin-pat, r=Nadrieril
a9c0e8366e5 Auto merge of #150110 - Urgau:remap-relative-library, r=jieyouxu
24bc4dbcb8e Auto merge of #150147 - matthiaskrgr:rollup-8zp68z1, r=matthiaskrgr
112f2c0e29c Rollup merge of #149815 - is57primenumber:add-slp-vectorize-test, r=chenyukang
cb98597db02 Auto merge of #117192 - saethlin:leaves-can-assert, r=scottmcm
1b3966745a2 Auto merge of #150105 - jackh726:remove-expressions-coerce, r=BoxyUwU
5998b383525 Auto merge of #150135 - JonathanBrouwer:rollup-pn911bj, r=JonathanBrouwer
88379a0e698 Rollup merge of #150048 - pthariensflame:patch-1, r=Amanieu
3f8c6c34163 Merge pull request #4774 from rust-lang/rustup-2025-12-18
22b816b0fa7 Merge ref '686f9cefc37c' from rust-lang/rust
5d4f813fb04 Auto merge of #150115 - JonathanBrouwer:rollup-3gqipmq, r=JonathanBrouwer
41064881428 Rollup merge of #150095 - Bryntet:parse_internal_rustc_attributes, r=JonathanBrouwer
061468204d2 Rollup merge of #149922 - reddevilmidzy:t12, r=Kivooeo
83a940b8477 Auto merge of #150106 - matthiaskrgr:rollup-98nwcjp, r=matthiaskrgr
248c620976b Rollup merge of #149919 - GuillaumeGomez:doc-metadata-encoding, r=lqd
53655a79760 Auto merge of #150089 - JonathanBrouwer:rollup-9nmxze1, r=JonathanBrouwer
c849d80527e Rollup merge of #150086 - Bryntet:parse_never_return_null_pointer, r=JonathanBrouwer
042cb9137b2 Rollup merge of #150044 - workingjubilee:avoid-suggesting-irrelevant-rename, r=jieyouxu
77d7895727f Rollup merge of #150008 - androm3da:bcain/va_arg_rs, r=folkertdev
c849834ad43 Auto merge of #150080 - tgross35:update-builtins, r=tgross35
7137a88c762 Merge pull request #2701 from rust-lang/rustc-pull
e4d8943839e Merge ref '029f5517ed09' from rust-lang/rust
a12f105da85 Auto merge of #150079 - jhpratt:rollup-iehzejf, r=jhpratt
cd5ff1032f0 Rollup merge of #150070 - Kobzol:enzyme-error, r=ZuseZ4
334b1ee271b Rollup merge of #150060 - ZuseZ4:autodiff-dlopen-ice, r=Kobzol
d2516b4901d Rollup merge of #150000 - Bryntet:brynte/parse_legacy_const_generic_args, r=jonathanbrouwer,jdonszelmann
029f5517ed0 Auto merge of #150068 - JonathanBrouwer:rollup-45j7puz, r=JonathanBrouwer
194872b24d8 Rollup merge of #150063 - workingjubilee:remove-let-else-deny, r=Kivooeo
9c6dcad9600 Rollup merge of #150042 - tshepang:rdg-sync, r=tshepang
ed9b7df2f2d Auto merge of #149442 - chenyukang:yukang-fix-mark-span-note-144304, r=estebank
8f749a1e0b0 Auto merge of #143924 - davidtwco:sve-infrastructure, r=workingjubilee
65d80dae167 debuginfo: no spill `<vscale x N x i1>` for `N!=16`
cb1c0055b5f codegen: implement `repr(scalable)`
8e6f1cabe5f Auto merge of #149948 - WaffleLapkin:dereferenceablen't, r=RalfJung
3576d784ccb Auto merge of #150041 - Zalathar:rollup-sa5nez6, r=Zalathar
83c3d075d81 Merge pull request #2699 from rust-lang/rustc-pull
7dad39fdc95 Merge ref 'cec70080fd44' from rust-lang/rust
7789ac5bbc1 Rollup merge of #150014 - bjorn3:metadata_loader_cleanups, r=jieyouxu
4e73972dc60 Rollup merge of #149271 - sgasho:enzyme-dlopen, r=bjorn3
c46c4fc9f17 Auto merge of #149354 - antoyo:bootstrap-config/libgccjit-libs-dir, r=Kobzol
1661dcce8ce Auto merge of #149930 - joboet:small-sys-refactor, r=ChrisDenton
8e75cb08a4e refactor: initialize EnzymeWrapper in LlvmCodegenBackend::init
8694be73d90 feat: dlopen Enzyme
44a160e4ab0 Auto merge of #150015 - lnicola:sync-from-ra, r=lnicola
77d3435fbbb Merge pull request #21262 from dfireBird/hir-locals-used
159217efcf7 Auto merge of #150013 - matthiaskrgr:rollup-srl9jrb, r=matthiaskrgr
9bd2aea06ca Use CrateDepKind::Explicit for the profiler runtime
ddae3badcad Merge pull request #21268 from rust-lang/rustc-pull
472cfe863ee Rollup merge of #149997 - cvengler:posix-gettime, r=joboet
964d327104a Rollup merge of #149994 - Flakebi:amdgpu-vectors, r=jieyouxu
4ed1e76c775 Rollup merge of #149987 - Zalathar:ambient-cdb, r=jieyouxu
78ca44bcaee Rollup merge of #149946 - Zalathar:buckets, r=Nadrieril
174527974b9 Rollup merge of #149744 - lemire:main, r=Mark-Simulacrum
45509b0e001 Auto merge of #149851 - dianqk:update-llvm, r=cuviper
a50a3fc4e18 Merge pull request #4765 from rust-lang/rustup-2025-12-15
3374fe95223 Merge ref '0208ee09be46' from rust-lang/rust
1437567d182 Auto merge of #149999 - matthiaskrgr:rollup-irr8kqi, r=matthiaskrgr
290157e4d6f Rollup merge of #149998 - RalfJung:miri, r=RalfJung
3fd8a05cff0 Introduce Operand::RuntimeChecks.
af08f8c4228 Replace Rvalue::NullaryOp by a variant in mir::ConstValue.
bf4f6109810 Auto merge of #149979 - ChrisDenton:rollup-9rvyn3h, r=ChrisDenton
54347375647 Rollup merge of #149955 - elijah629:patch-1, r=Noratrieb
8640811e7db Rollup merge of #149417 - clubby789:stale-workspace-list, r=Mark-Simulacrum
26d4c9bf92e Rollup merge of #148825 - cvengler:time_systemtime_limits, r=ChrisDenton
328aa36f8f5 Rollup merge of #148755 - nxsaken:const_drop_guard, r=dtolnay
5610237bbb2 Auto merge of #149273 - bjorn3:crate_locator_improvements, r=petrochenkov
2a4be3d9585 Merge pull request #4763 from rust-lang/rustup-2025-12-14
9169b4c7372 Merge ref '2cd4ee6bcf51' from rust-lang/rust
8899f6a4254 Auto merge of #146348 - jdonszelmann:eiiv3, r=lcnr,oli-obk
de45eaca078 Auto merge of #149709 - Urgau:overhaul-filenames, r=davidtwco
480acbc979a Merge pull request #2689 from rust-lang/rustc-pull
ef806715b84 Auto merge of #147372 - jieyouxu:rust-analyzer-main-tests, r=Kobzol
d047244929b Auto merge of #149941 - jhpratt:rollup-9p1xc2t, r=jhpratt
afdb3a9591b Use `let...else` instead of `match foo { ... _ => return };` and `if let ... else return`
16ca6e20832 use our own alternative to STD_INTERNAL_SYMBOL and make sure we mangle EIIs properly
b51d1363eff visibility using std_internal_symbol
1da2f9b3deb EII: generate aliases for implementations
01b2f4b1810 Auto merge of #149891 - matthiaskrgr:rollup-jh6xrhz, r=matthiaskrgr
dd278243caf Rollup merge of #148717 - estebank:macro-spans-2, r=petrochenkov
894d44ac7c0 Rollup merge of #142380 - GuillaumeGomez:neg-implementors, r=yotamofek
82f0bbfac39 Auto merge of #149645 - GuillaumeGomez:doc-attr-based, r=jdonszelmann,jonathanbrouwer
9b7430514e7 Merge pull request #4758 from rust-lang/rustup-2025-12-11
4867b14be08 Auto merge of #149853 - matthiaskrgr:rollup-m2rkwqr, r=matthiaskrgr
bfdba8d91a5 Rollup merge of #149764 - Zalathar:has-zstd, r=bjorn3
6357aafa957 Rollup merge of #149838 - aerooneqq:build-aux-in-pp-tests, r=petrochenkov
eb26b4dc083 Rollup merge of #149781 - mu001999-contrib:fix/149756, r=jdonszelmann
4bd6d222658 Rollup merge of #149679 - pmur:murp/ppc-inline-improvements, r=Amanieu
b52107c06f0 Rollup merge of #149458 - GuillaumeGomez:clippy-cg_gcc, r=kobzol
d5d4ffd652e Rollup merge of #148491 - estebank:issue-147894, r=jackh726
6115b214877 Rollup merge of #148294 - chenx97:mips64-padding-aggregate-args, r=workingjubilee
9c54b0a6709 Rollup merge of #147725 - bjorn3:remove_oom_panic, r=Amanieu
f16774b3b28 Auto merge of #149798 - matthiaskrgr:rollup-wjgs9x6, r=matthiaskrgr
70cc20135df Rollup merge of #149754 - jieyouxu:compiletest-cli, r=Zalathar
8f0e465ae9a Rollup merge of #149755 - Zalathar:test-mode, r=jieyouxu
b9e9d71d0e6 Rollup merge of #149720 - jtracey:patch-1, r=notriddle
a88a38e228d Rollup merge of #149652 - cuviper:relnotes-1.92.0, r=BoxyUwU
6df39b4a219 Rollup merge of #149215 - JonathanBrouwer:cfg_lints2, r=jdonszelmann
09a02441252 Auto merge of #149426 - antoyo:libgccjit-targets, r=Kobzol
a6f51faacc6 Make `--print=backend-has-zstd` work by default on any backend
5c2fb386c6a Auto merge of #149750 - Zalathar:rollup-9qjiz5r, r=Zalathar
e10368db473 Rollup merge of #149739 - lolbinarycat:mailmap-add-self, r=Kivooeo
3e9ca5b62c0 Auto merge of #149517 - WaffleLapkin:alphabet-blessing, r=jdonszelmann
aca36b65d3a Auto merge of #149690 - RustyYato:inline-layout-helper, r=saethlin
09aad1aad3a Auto merge of #149729 - matthiaskrgr:rollup-25plwn0, r=matthiaskrgr
ed379d99553 Rollup merge of #149498 - reddevilmidzy:t8, r=fee1-dead
5254ee043e5 Rollup merge of #147136 - Jules-Bertholet:const-_-unused-vis, r=jdonszelmann
8631a5378c9 Auto merge of #149657 - Kobzol:revert-149147, r=chenyukang
6929a4bff94 Auto merge of #149717 - matthiaskrgr:rollup-spntobh, r=matthiaskrgr
5eae037d653 Rollup merge of #149716 - RalfJung:miri, r=RalfJung
386fdc48d3b Auto merge of #149704 - matthiaskrgr:rollup-u4zhw99, r=matthiaskrgr
204333931d3 Merge pull request #4743 from rust-lang/rustup-2025-12-06
47b78d49137 Emit `check-cfg` lints during attribute parsing rather than evaluation#149215
fdc02f144ca Auto merge of #149495 - scottmcm:assume-filter-count, r=Mark-Simulacrum
ce9c78556b7 Rollup merge of #149683 - korken89:fix-armv8r-tier, r=jieyouxu
c59e3207240 Auto merge of #149701 - jhpratt:rollup-cnlzfbv, r=jhpratt
f643c49cdc3 Merge ref '563232fe8374' from rust-lang/rust
790f999c41f Rollup merge of #149684 - tshepang:rdg-sync, r=tshepang
d7e754a3867 Auto merge of #148823 - lcnr:generalize-no-subtyping, r=BoxyUwU
563232fe837 Auto merge of #141980 - beetrees:va-list-proposal, r=workingjubilee
7ded27d3902 Auto merge of #149682 - matthiaskrgr:rollup-serlk7i, r=matthiaskrgr
49cea8aad25 Rollup merge of #149661 - alinas:llvm-22-runtimelibraryinfo-fix, r=cuviper
efd04d966f0 Rollup merge of #149630 - wafarm:fix-149604, r=JonathanBrouwer
dce8dbbd917 Rollup merge of #149101 - reddevilmidzy:mutable, r=eholk
36177dcbd0e Rollup merge of #148662 - leftmostcat:document-isize-limit, r=joboet
e4643d8e6dc Auto merge of #148602 - BoxyUwU:coercion_cleanup_uncontroversial, r=lcnr
29a057c19c0 Merge pull request #4742 from rust-lang/rustup-2025-12-05
020da7e117b Auto merge of #149646 - matthiaskrgr:rollup-jbfeow8, r=matthiaskrgr
8905a2def46 Auto merge of #149642 - GuillaumeGomez:subtree-update_cg_gcc_2025-12-04, r=GuillaumeGomez
d693dd700f2 Auto merge of #149632 - matthiaskrgr:rollup-c5iqgtn, r=matthiaskrgr
7252f0d5313 Auto merge of #149586 - tgross35:update-builtins, r=tgross35
534569001fd Rework `c_variadic`
e4747327f44 Rollup merge of #149608 - pmur:murp/ppc-clobber-speacc, r=Amanieu
e1c83a69fc2 Rollup merge of #149597 - jdonszelmann:revert-iterator-exactly-one, r=wafflelapkin
828c0fdb9be Revert "fixup warnings around the compiler"
8df46934441 Auto merge of #149591 - matthiaskrgr:rollup-b3zm9ke, r=matthiaskrgr
2e6fcabfc3e account for safe target features in fndef<->closure and fndef<->fndef coerce-lubs
a01e8e6254d Rollup merge of #149590 - petrochenkov:norlld, r=mati865
912df52a689 linker: Remove special case for `rust-lld` in `detect_self_contained_mingw`
8568f192e92 Auto merge of #149560 - matthiaskrgr:rollup-lce3baq, r=matthiaskrgr
208bdef5b39 Rollup merge of #148250 - hkBst:array-chunks-docs, r=joboet
d0d3042ab9f Merge ref '47cd7120d9b4' from rust-lang/rust
3539487e780 Auto merge of #149499 - lnicola:sync-from-ra, r=lnicola
3b27e2eeb9e Merge pull request #21185 from rust-lang/rustc-pull
d9e2644535b Merge pull request #2665 from rust-lang/rustc-pull
60750eccec6 Merge ref 'dfe1b8c97bcd' from rust-lang/rust
4a38b0c6749 Merge ref 'dfe1b8c97bcd' from rust-lang/rust
d178069f3f4 Auto merge of #149474 - RalfJung:miri, r=RalfJung
d631058fedb Merge pull request #4733 from michaliskok/genmc-bug-fixes
ae316ea1e2e Merge pull request #4734 from rust-lang/rustup-2025-11-29
fecb65a53c8 Merge ref '1eb0657f7877' from rust-lang/rust
a2535ca4db6 Remove -Zoom=panic
52c702b59bd Merge pull request #4730 from RalfJung/rustup
36e33dee6cc Merge ref '88bd39beb342' from rust-lang/rust
3ae9093ff2e Auto merge of #147498 - ferrocene:pvdrz/edition-range-gating, r=jieyouxu,fmease
a7707a6b1d8 Auto merge of #149397 - matthiaskrgr:rollup-go79y6a, r=matthiaskrgr
9ad96ddb493 Rollup merge of #149390 - lnicola:sync-from-ra, r=lnicola
7d16064f12d Rollup merge of #149363 - scrabsha:rust/sasha/vkknqylzvzlu, r=jdonszelmann
be5a3d02b3c Remove PathKind from CrateSource
20e7e6602ca Merge pull request #21095 from A4-Tacks/autoderef-skipiter
80d59fb6f10 Auto merge of #149370 - Zalathar:rollup-6fkk5x4, r=Zalathar
0b3a058d704 Merge pull request #2658 from rust-lang/rustc-pull
1745506e03c Merge ref '1be6b13be73d' from rust-lang/rust
e8cab3b02e8 Merge pull request #21028 from A4-Tacks/comp-pattern-alias
e011013beb7 Merge pull request #20685 from A4-Tacks/enum-multi-gen-is-as
c23ee77e7cb Merge pull request #21143 from rust-lang/rustc-pull
fa87bd7c970 Rollup merge of #149360 - mati865:push-rnmttvktztwp, r=Mark-Simulacrum
cab04e1678c Rollup merge of #149295 - kornelski:endian_bytes, r=Mark-Simulacrum
fd112774521 Rollup merge of #149270 - jdonszelmann:exact-length-collection, r=Mark-Simulacrum
38814e05497 Auto merge of #149368 - Zalathar:rollup-dakpdsl, r=Zalathar
f367fa2cd7a Rollup merge of #149243 - yotamofek:pr/change_tracker_typo, r=Mark-Simulacrum
d55f96750df Rollup merge of #149239 - RalfJung:float-intrinsics, r=tgross35
df4637ac234 Rollup merge of #147115 - cezarbbb:stable_ssp, r=SparrowLii
5320be542b3 Port the `#![windows_subsystem]` attribute to the new attribute system
0e490766642 Rollup merge of #149341 - Jarcho:ast_copy, r=chenyukang
f0de5fc5381 Rollup merge of #149326 - JonathanBrouwer:remove_clone, r=lcnr
d4e86b3548a Rollup merge of #149317 - bjorn3:has_ffi_unwind_calls_inline_asm, r=petrochenkov
61183ab1825 Rollup merge of #149312 - mati865:push-uxlynzmxzswo, r=wesleywiser
9346c56e65f Rollup merge of #149312 - mati865:push-uxlynzmxzswo, r=wesleywiser
078da265b00 Rollup merge of #149173 - bjorn3:target_spec_rust_features, r=RalfJung
dac76eeb28b Rollup merge of #149307 - lapla-cogito:deny_const_auto_trait, r=fmease
7d7f3a6c76c Rollup merge of #147936 - Sa4dUs:offload-intrinsic, r=ZuseZ4
43cb01a4d9b Implement offload intrinsic
fed7f129757 Rollup merge of #149274 - GuillaumeGomez:tyalias-method-link, r=lolbinarycat
31b7c2038f6 Rollup merge of #149268 - davidtwco:v0-mangling-global-asm-namespace, r=Kivooeo
ded142c3169 Rollup merge of #149210 - ShoyuVanilla:issue-148161, r=jdonszelmann
e27dff75ad0 Rollup merge of #149167 - adwinwhite:next-245, r=lcnr
cb300808337 Rollup merge of #148652 - rperier:report_no_match_method_error-refactoring, r=lcnr
1c0e7bef222 Rollup merge of #147736 - folkertdev:stabilize-asm-cfg, r=jdonszelmann
aa5470ad096 Use rust rather than LLVM target features in the target spec
6430b6f90df Auto merge of #149148 - davidtwco:v0-mangling-on-nightly-std, r=Kobzol
a877f9bc016 Merge pull request #4722 from rust-lang/rustup-2025-11-25
e5d1b8b21db Auto merge of #149200 - yaahc:helper-compat-test, r=petrochenkov
8f42e728cb1 Merge ref 'c871d09d1cc3' from rust-lang/rust
17e94e5e06a Auto merge of #149276 - matthiaskrgr:rollup-wlrpdrr, r=matthiaskrgr
e017e92edf3 Auto merge of #149265 - lnicola:sync-from-ra, r=lnicola
60ccfef2076 fixup warnings around the compiler
1b1df148867 Merge pull request #2653 from rust-lang/rustc-pull
a4951ac7c33 Auto merge of #147760 - Walnut356:gnu_enum_viz, r=Mark-Simulacrum,saethlin
5efbe9ead03 Merge ref 'd3e1ccdf40ae' from rust-lang/rust
17bcc3759d6 Auto merge of #149247 - jhpratt:rollup-mq8f5wo, r=jhpratt
d40968ee5f5 Rollup merge of #149232 - madsmtm:vec-doc-aliases, r=Noratrieb
206db5e8e10 Rollup merge of #149197 - lolbinarycat:rustdoc-bad-render-attr, r=GuillaumeGomez
cb9864e5a13 Rollup merge of #149179 - reddevilmidzy:test, r=JonathanBrouwer
244d1fc0b23 Auto merge of #148925 - madsmtm:jemalloc-perf, r=Kobzol
05f8b0f49a8 Auto merge of #147827 - saethlin:maybeuninit-codegen2, r=scottmcm
f07b95923f4 Fix MaybeUninit codegen using GVN
5bb66296f2b Auto merge of #149170 - ZuseZ4:automate-offload-packager, r=oli-obk
358fda77ebb Auto merge of #149222 - matthiaskrgr:rollup-cl428i7, r=matthiaskrgr
99076be8428 Rollup merge of #149204 - winningMove:patch-1, r=chenyukang
982a63f14af Rollup merge of #149194 - chirizxc:patch-1, r=Noratrieb
988f1c031da Rollup merge of #149180 - bjorn3:lto_refactors9, r=dianqk
00a217e58d0 Rollup merge of #149185 - Jules-Bertholet:fix-149092, r=chenyukang
c9159688f9b Auto merge of #149159 - cuviper:library-hashbrown-0.16.1, r=Amanieu
504ae6f46d9 Auto merge of #149196 - GuillaumeGomez:rollup-pn0aoy3, r=GuillaumeGomez
28d963610ed Rollup merge of #149098 - Jamesbarford:fix/148919-tuple-struct-lint, r=JonathanBrouwer
094c0b70753 Rollup merge of #149028 - GuillaumeGomez:unify-anchor, r=lolbinarycat
1afb74c25d3 Rollup merge of #148795 - karolzwolak:rustflags-bootstrap-toml, r=Kobzol
8020ed2418c Rollup merge of #148719 - Nadrieril:poly-drop-glue, r=saethlin
04bcd2adbb1 Merge pull request #4716 from RalfJung/rustup
92429202cee Merge ref 'e22dab387f6b' from rust-lang/rust
0b8b62e9fd5 Allow passing primary spans to SharedEmitter
2bdb9600fc8 Introduce InlineAsmError type
8137c032c88 Auto merge of #149166 - Zalathar:rollup-fyrwtcb, r=Zalathar
80a27b44e03 Rollup merge of #149160 - maxdexh:fix-instrinsic-unifying-coercion-ice, r=Kivooeo,BoxyUwU
f40f26263f0 Auto merge of #149158 - matthiaskrgr:rollup-qmtvboe, r=matthiaskrgr
f07e0d3098a Rollup merge of #149088 - ximon18:patch-1, r=ChrisDenton
6d63aea5d85 Rollup merge of #149033 - ZuseZ4:autodiff-rlib, r=bjorn3
836bd74b241 Auto merge of #149109 - scottmcm:align-always-alignment, r=tgross35
20d7be2d277 Auto merge of #149132 - matthiaskrgr:rollup-8khp9s2, r=matthiaskrgr
994f3a4498d Rollup merge of #149095 - tshepang:rdg-sync, r=tshepang
5effc9db5af Auto merge of #149118 - folkertdev:stdarch-sync-2025-11-19, r=tgross35
5e1e05c243a Merge pull request #4713 from rust-lang/rustup-2025-11-20
1634011c4f6 Merge pull request #21064 from lnicola/book-multilingual
2cb73892a94 Merge pull request #21060 from ChayimFriedman2/adjust-last
5b69b3229d9 Merge pull request #21061 from ChayimFriedman2/infer-array-size
1de3a679189 Merge pull request #21062 from lnicola/sync-from-rust
672e2ce88a9 Auto merge of #149063 - matthiaskrgr:rollup-6z23izv, r=matthiaskrgr
6bd6a63b9ec Rollup merge of #149057 - lnicola:sync-from-ra, r=lnicola
177ceff1811 Rollup merge of #148281 - RalfJung:repr-transparent-check, r=nnethercote
d057fb74191 Rollup merge of #147887 - matthieu-m:task/lib-core-sync-atomic-fence-doc-improvement, r=Mark-Simulacrum
802d7a5ad66 Auto merge of #149059 - GuillaumeGomez:rollup-s6m2mmy, r=GuillaumeGomez
c103b352d1b Auto merge of #148151 - cjgillot:no-offset-of, r=scottmcm
9fc85ed2b00 Replace OffsetOf by an actual sum.
6f79d090054 Auto merge of #149032 - matthiaskrgr:rollup-28xhwxa, r=matthiaskrgr
a363317528f Rollup merge of #148698 - tiif:const_query_cycle, r=BoxyUwU
796111c8a2d Rollup merge of #148504 - NeatNit:intlong, r=ibraheemdev
11fe45ccdc0 Auto merge of #149022 - RalfJung:miri, r=RalfJung
6afcf31c1dc Merge pull request #4630 from royAmmerschuber/pull-request/wildcard-provenance
8219708bd29 Merge pull request #2647 from rust-lang/rustc-pull
2da6860cb21 Merge pull request #4697 from michaliskok/genmc-llvm-dep
f4a0bb68bc6 Auto merge of #149013 - Zalathar:rollup-io1ddhc, r=Zalathar
75a95c6ef2c Merge pull request #4699 from rust-lang/rustup-2025-11-17
88e0abe21b9 Rollup merge of #148855 - ZuseZ4:autodiff-lto-error, r=bjorn3
9d8a4ddfdf1 Auto merge of #148478 - RalfJung:rotating-funnel, r=Mark-Simulacrum
e32f1cbb8ef Auto merge of #149002 - matthiaskrgr:rollup-tbjck7g, r=matthiaskrgr
8457a087782 Rollup merge of #148983 - Mark-Simulacrum:build-manifest-dynamic-targets, r=Kobzol
3cfd16913f5 Rollup merge of #148703 - pitaj:rangefrom-overflow_checks, r=Mark-Simulacrum
e6171b25f75 Auto merge of #148957 - flip1995:clippy-subtree-update, r=Manishearth
68df479c176 Auto merge of #148993 - RalfJung:miri, r=RalfJung
e4a893773d6 Auto merge of #148988 - Zalathar:rollup-n7hgioa, r=Zalathar
86db3b3928f Rollup merge of #148859 - ZhongyaoChen:fix-riscv-overflow-checks-test-fail, r=Mark-Simulacrum
fb5cacc0df0 Rollup merge of #148522 - yotamofek:pr/rustdoc/optimize-read_postings_from_string, r=GuillaumeGomez
74094a7194a Merge pull request #4686 from folkertdev/psad-avx512
1f6f12723ee Auto merge of #148877 - lolbinarycat:rustdoc-opt-render-item, r=GuillaumeGomez
7e272978048 Merge pull request #4690 from RalfJung/top-level-error
02b5871ca5c Merge pull request #4689 from RalfJung/retag-the-fields
f4740741d90 Auto merge of #138918 - Ayush1325:uefi-fs-time, r=joboet
b5c29dc87c3 Auto merge of #148938 - Zalathar:rollup-xg51707, r=Zalathar
41383e78359 Rollup merge of #148725 - scottmcm:experiment-new-try-block-v3, r=petrochenkov
99ddda9c5df Rollup merge of #148638 - chenyukang:yukang-fix-148634-repr-simd-enum-ice, r=Kivooeo,lcnr
bf236f358ff Merge pull request #4687 from rust-lang/rustup-2025-11-14
c81d8be1187 Merge ref '7a72c5459dd5' from rust-lang/rust
6799e2166ce Rollup merge of #148850 - joshtriplett:read-array, r=joboet
918b2038a2d Rollup merge of #148826 - btj:cstr-docs, r=joboet
ed6a1103028 Rollup merge of #148812 - Zalathar:expansions, r=JonathanBrouwer
c029302d0ba Rollup merge of #148808 - nnethercote:resolve-cleanups, r=chenyukang,petrochenkov
d2eb0f215ea Auto merge of #148587 - RalfJung:duration_from_nanos_u128, r=Mark-Simulacrum,oli-obk
3d690c96d97 Auto merge of #148885 - Zalathar:rollup-wrvewer, r=Zalathar
98d00c69250 Rollup merge of #148883 - weihanglo:sanity, r=Kobzol
a89a031c351 Rollup merge of #148872 - ShoyuVanilla:issue-148192, r=chenyukang
cf8fbc25360 Rollup merge of #148846 - folkertdev:tail-call-rpit, r=WaffleLapkin
15085a6176e Rollup merge of #148839 - luca3s:rtsan_ice_fix, r=WaffleLapkin
120194eb3a1 Auto merge of #148873 - Muscraft:update-cargo, r=Muscraft
df4f0208c72 Merge pull request #4683 from RalfJung/epoll-without-ready
8a47cfec523 Auto merge of #148552 - chenyukang:yukang-fix-148392-closure-diag, r=petrochenkov
f09c5c56baa Merge pull request #1953 from sayantn/masked-load-store
d70e6697655 Auto merge of #148466 - liigo:better-rustdoc, r=GuillaumeGomez
740f038868a Merge pull request #4680 from rust-lang/rustup-2025-11-12
e7c7c5ae503 Auto merge of #148424 - Zalathar:tests, r=Kobzol
59f495f4127 Auto merge of #148851 - Zalathar:rollup-4y7ywyd, r=Zalathar
14475eb7343 Rollup merge of #148830 - RalfJung:miri, r=RalfJung
a5b32e6337b rustc_codegen_ssa: reduce repetition
c6f931e9c14 rustc_target: introduce Os
b37ab69e8bf rustc_target: introduce Env
e0b90ba2b93 rustc_target: introduce Abi
3ca6e5eb596 Auto merge of #144674 - rperier:add_note_if_a_type_impl_a_trait_with_the_same_name, r=lcnr
c822254b1ea fix rtsan_nonblocking_async lint closure ICE
6ce3b712428 Auto merge of #148658 - dianne:cleanup-rvalue-scopes, r=cjgillot
26343f25285 Auto merge of #148818 - Zalathar:rollup-4vujcg0, r=Zalathar
c3decbc3f0c Rollup merge of #148807 - nnethercote:doc-Copy-Clone-problem, r=saethlin
0b65792ffe1 Rollup merge of #148805 - tshepang:rdg-sync, r=tshepang
52f87671759 Auto merge of #148817 - Zalathar:rollup-tf5ti2m, r=Zalathar
44902c4d0e8 Rollup merge of #148530 - Shourya742:2025-11-05-update-bootstrap-documentation, r=Kobzol
ba2d1738296 Merge pull request #2635 from rust-lang/rustc-pull
41c1576a6e5 Auto merge of #148397 - frank-king:feature/pin-pattern, r=Nadrieril,traviscross
91de3177384 Auto merge of #135634 - joboet:trivial-clone, r=Mark-Simulacrum
228184fd517 Merge pull request #4676 from RalfJung/epoll-edge
2700dfa6d14 Merge pull request #1954 from rust-lang/rustc-pull
8a1059c423a Merge pull request #4677 from rust-lang/rustup-2025-11-10
1c75398eef0 Auto merge of #148679 - dianqk:update-llvm, r=cuviper
ed2a271affc Auto merge of #148762 - matthiaskrgr:rollup-4oifvkr, r=matthiaskrgr
19a412cad51 rustc_target: hide TargetOptions::vendor
b6f33931790 Rollup merge of #148285 - nxsaken:const_control_flow_1, r=Mark-Simulacrum
20ff64e9f1b Rollup merge of #148248 - nxsaken:const_control_flow, r=Mark-Simulacrum
c60ecf68977 Auto merge of #148435 - ZhongyaoChen:promote-riscv64a23-to-tier2, r=jieyouxu
8fcef07469d Auto merge of #148753 - matthiaskrgr:rollup-48jzbqw, r=matthiaskrgr
bcbabc4bcc2 Rollup merge of #148734 - RalfJung:miri, r=RalfJung
0f49c50e1a1 Auto merge of #148660 - fmease:cross-crate-cfg, r=GuillaumeGomez
859070d379f Auto merge of #148721 - Zalathar:rollup-398va3y, r=Zalathar
2cc458e6911 Rollup merge of #148711 - JonathanBrouwer:cfg_macro_lint_node_id, r=Kivooeo
8b73073134e Rollup merge of #148688 - JonathanBrouwer:remove_features, r=jdonszelmann
6401bfaea72 Rollup merge of #128666 - pitaj:intrinsic-overflow_checks, r=BoxyUwU
e83b8264fc5 Auto merge of #148692 - matthiaskrgr:rollup-hryk71f, r=matthiaskrgr
1d366ba0e37 Auto merge of #139558 - camelid:mgca-const-items, r=oli-obk,BoxyUwU
e8f6d01444c Auto merge of #148691 - bjorn3:sync_cg_clif-2025-11-08, r=bjorn3
147201e0b5f Rollup merge of #148556 - chenyukang:yukang-fix-148493-async-closure, r=JonathanBrouwer
711a54d0813 Rollup merge of #148555 - ehuss:rust-by-example-es, r=Kobzol
6634064f4fb Rollup merge of #147540 - bjoernager:slice-as-array, r=Amanieu
a29c7fad16f Rollup merge of #147534 - sayantn:simd-funnel-shifts, r=RalfJung
6111fe158a1 Rollup merge of #147024 - brad0:std_detect_openbsd_elf_aux_info, r=Mark-Simulacrum
c4c9b0def25 Rollup merge of #145656 - folkertdev:stabilize-s390x-vector, r=Amanieu
84d22a65d70 Merge pull request #4672 from RalfJung/sync-objs
c05771e59b0 Auto merge of #147935 - luca3s:add-rtsan, r=petrochenkov
fb14ce8903f Remove unused argument `features` from `eval_config_entry`
309713cf8b7 Auto merge of #147803 - jsgf:move-copy-codegen, r=madsmtm,saethlin
24f7e3f78d9 Merge pull request #4673 from rust-lang/rustup-2025-11-08
7fdeacb2346 Merge ref 'ceb7df7e6f17' from rust-lang/rust
e378d087dae Auto merge of #147029 - neuschaefer:memchr-2.7.6, r=marcoieni
c718c6a4363 Auto merge of #147798 - Zalathar:uutils, r=jieyouxu
35b2a2a0e77 Auto merge of #147641 - cjgillot:liveness-cache-strings, r=estebank
00b1be579b0 Auto merge of #148624 - jhpratt:rollup-is5je9r, r=jhpratt
9584a94be71 Rollup merge of #145768 - ZuseZ4:offload-device, r=oli-obk
19247e2f74d Add -Zannotate-moves for profiler visibility of move/copy operations
d7b33a49510 Auto merge of #148573 - matthiaskrgr:rollup-cn5viia, r=matthiaskrgr
677695be74c add warning for async
4bbd976596c add realtime sanitizer
3bce35ecf6c replace SanitizerSet in CodegenFnAttrs by new type
ca0ac60a3ce Auto merge of #148188 - Muscraft:annotate-snippets-default-on-nightly, r=estebank
7b02773f7f4 Rollup merge of #148563 - notriddle:index-typedata-bug, r=GuillaumeGomez
82adaa19165 Rollup merge of #148528 - hkBst:run-make-tests-1, r=jieyouxu
72180b0b2c5 Rollup merge of #146861 - antonilol:vec_deque_extend_front, r=joboet
12301a67426 Auto merge of #148560 - Zalathar:rollup-c62przo, r=Zalathar
82b5eb40aea Fix device code generation, to account for an implicit dyn_ptr argument.
8e732e2107b Merge pull request #4669 from RalfJung/triagebot-welcome
3bc31e36cb9 Merge pull request #4671 from rust-lang/rustup-2025-11-06
b384b1cebe1 Rollup merge of #147043 - ilovepi:default-sanitizers, r=petrochenkov
8e1630af116 Auto merge of #148544 - matthiaskrgr:rollup-n9dqgwc, r=matthiaskrgr
10cd81a5384 Rollup merge of #148523 - RalfJung:miri, r=RalfJung
b3ef61274b4 Auto merge of #148516 - bjorn3:target_feature_parsing_improvements, r=WaffleLapkin
f4317980298 Unify the configuration of the compiler docs
caccc0731a4 Auto merge of #148492 - pmur:murp/ppc-relax-r29-inlineasm, r=Amanieu
e252d8a6f60 Move warning reporting from flag_to_backend_features to cfg_target_feature
f80ebe63449 Auto merge of #148507 - Zalathar:rollup-vvz4knr, r=Zalathar
8d0177849cd Auto merge of #147645 - tamird:arch-enum, r=nnethercote
1d169897b47 rustc_target: allow unenumerated architectures
e502d42266a rustc_target: introduce Arch
8c6faedff3c Rollup merge of #148502 - tshepang:rdg-sync, r=tshepang
18c92b6a15d Auto merge of #148471 - lnicola:sync-from-ra, r=lnicola
5b541463024 Merge pull request #4661 from michaliskok/genmc-url
c85262768e4 Merge pull request #4662 from rust-lang/rustup-2025-11-04
c878657eda6 Merge pull request #1948 from folkertdev/forward-percentage
66b2579f29b Add default sanitizers to TargetOptions
b6380e49054 Auto merge of #148350 - scottmcm:slice-range-attributes, r=JonathanBrouwer,davidtwco
8e27c5fa656 Auto merge of #148446 - GuillaumeGomez:rollup-lxwlqol, r=GuillaumeGomez
9bdca67c9aa Rollup merge of #148378 - ilai-deutel:update_hook-doc, r=joboet
ca2876af93a Rollup merge of #148306 - zetanumbers:expn_id_decode, r=nnethercote
3a50a054fe3 Rollup merge of #148268 - notriddle:emit-scraped-examples, r=GuillaumeGomez
3bd773860d6 Rollup merge of #148099 - Zalathar:debuggers, r=jieyouxu
05daaa426a2 Rollup merge of #147520 - sayantn:simd-const-eval, r=RalfJung
7c403afcdd5 Rollup merge of #135099 - Shunpoco:116971-mir-opt-copy-prop, r=davidtwco
5ad18d70a6c Merge pull request #2625 from rust-lang/rustc-pull
6de0c7a8516 Auto merge of #148436 - jieyouxu:revert-unicode-generator, r=Zalathar
a4aa8addb35 Auto merge of #147728 - Enselic:gdbt-check-typo, r=Zalathar
da534efaf32 Merge pull request #4660 from rust-lang/rustup-2025-11-03
aceab27399a Auto merge of #148425 - matthiaskrgr:rollup-pwibmxt, r=matthiaskrgr
05f0925dc03 Rollup merge of #148402 - folkertdev:stdarch-sync-nov-2025, r=sayantn
0254e6e6e70 Merge ref '69baf5e19302' from rust-lang/rust
73057c5f9a4 Rollup merge of #148247 - bjorn3:minor_symbol_export_cleanup, r=WaffleLapkin
37d0b5ed593 Rollup merge of #148240 - InvalidPathException:master, r=WaffleLapkin
69baf5e1930 Auto merge of #148412 - matthiaskrgr:rollup-59a302x, r=matthiaskrgr
7a54af90a16 Rollup merge of #146699 - heiher:is-ascii-lsx, r=Mark-Simulacrum
c1de04e59cd Auto merge of #148404 - matthiaskrgr:rollup-o61qhjw, r=matthiaskrgr
167896eef81 Rollup merge of #147642 - camelid:misc-const-fixes, r=BoxyUwU
a71008cfa82 Merge pull request #1950 from Kobzol/pull-nov-2025
afd13ca672e Auto merge of #148390 - matthiaskrgr:rollup-hu88mcf, r=matthiaskrgr
0b47e878a06 Remove special case for the panic runtime from reachable_non_generics
32b9106ab2c Move a special case for rust_eh_personality from reachable_non_generics to cg_llvm
501ce0296e2 Rollup merge of #148374 - RalfJung:miri, r=RalfJung
7957b523ca8 Rollup merge of #148194 - Zalathar:no-cleanup, r=jieyouxu
d2f7f0e0515 Auto merge of #148157 - nnethercote:undo-chain, r=saethlin
3c331887003 Merge pull request #4657 from RalfJung/tracking-and-backtrace
1fb61e0e368 Auto merge of #148193 - camsteffen:remove-qpath-langitem, r=cjgillot
f0cc2404e89 Merge pull request #4656 from rust-lang/rustup-2025-10-30
4713a095ad5 Auto merge of #148280 - jhpratt:rollup-um01cgu, r=jhpratt
c625e96b799 Rollup merge of #148176 - GuillaumeGomez:filter-macros, r=notriddle
578f8b4838a Rollup merge of #148115 - fmease:rustdoc-no-capture, r=notriddle
24b4bff7ffa Rollup merge of #138217 - theemathas:cow_is_owned_borrowed_associated, r=dtolnay
a0611678700 Merge ref '292be5c7c051' from rust-lang/rust
48a092c35c1 Fix musttail returns for cast/indirect ABIs
cbc097bc280 Auto merge of #148093 - Azzybana:master, r=nnethercote
a7428ba62c9 Auto merge of #148245 - matthiaskrgr:rollup-rudy14y, r=matthiaskrgr
1d0cbd712d4 Rollup merge of #148237 - Zalathar:analysis-signed, r=Kobzol
cb684094f49 Rollup merge of #148228 - clarfonthey:regression-next-solver, r=nnethercote
ba271148c01 Rollup merge of #148218 - apiraino:update-prio-zulip-mesgs, r=Urgau,jieyouxu
f9a5994f993 Rollup merge of #148159 - politikl:move-rustdoc-tests-to-subdirs, r=GuillaumeGomez
222b7d17cda Auto merge of #148241 - matthiaskrgr:rollup-4lsapc2, r=matthiaskrgr
3ca3658b580 Rollup merge of #148131 - tmiasko:deduce-spread-arg, r=wesleywiser
d12d3990a18 Auto merge of #148231 - weihanglo:update-cargo, r=weihanglo
7568b4bc1ad Auto merge of #148182 - saethlin:trivial-consts-recursive, r=eholk
154e08d8ec7 Auto merge of #148220 - matthiaskrgr:rollup-wtkkn0t, r=matthiaskrgr
e7477db1e2b Rollup merge of #148177 - bjorn3:codegen_backend_crate_types, r=WaffleLapkin
403feff4e8b Auto merge of #146186 - dpaoliello:cc, r=jieyouxu
ff70fdf1afd Auto merge of #148202 - Zalathar:rollup-2eriuc3, r=Zalathar
5f2d81e2fea Rollup merge of #148172 - tshepang:rdg-sync, r=tshepang
f4f2c929514 Auto merge of #148035 - bjorn3:check_skip_codegen_crate, r=madsmtm
667ee998e9f Allow codegen backends to indicate which crate types they support
364b47e3986 Auto merge of #148163 - lnicola:sync-from-ra, r=lnicola
7f82023addf Merge ref 'b1b464d6f61e' from rust-lang/rust
b49e377abde Auto merge of #146069 - camsteffen:range-desugar-span, r=SparrowLii
d438250f10e Auto merge of #147914 - petrochenkov:oosmc-used, r=fmease
789876828b2 Auto merge of #147890 - tmiasko:deduce-captures-none, r=cjgillot
146f706bc42 Auto merge of #146992 - GuillaumeGomez:improve-highlight, r=yotamofek,lolbinarycat
33365c85668 Auto merge of #148003 - aDotInTheVoid:rustdoc-postcard-compiletest-groundwork, r=jieyouxu
13a0485c5f3 Auto merge of #148136 - Zalathar:rollup-73hkwv8, r=Zalathar
5ed8634a2ed Improve the ICE message for invalid nullary intrinsic calls
a58baa9c61a refactor ub_checks and contract_checks to share logic
0408e351fe7 Rollup merge of #147406 - jchecahi:remove-needs-asm-support-explicit, r=cuviper
6ab49006fca Auto merge of #148018 - tardyp:lto_big_filesize_utf8, r=JonathanBrouwer
e15515ffe09 Skip codegen_crate call in check mode
74cf1f7e026 Merge pull request #4649 from rust-lang/rustup-2025-10-24
0b6c9988cc6 Merge ref '27050c0d15af' from rust-lang/rust
480d8bf8825 Rollup merge of #148054 - nnethercote:chain, r=saethlin
bcf5e1730fd Rollup merge of #148021 - GuillaumeGomez:simplify-mod-render, r=notriddle
5d06aa2c8c6 Auto merge of #148030 - hkBst:patch-3, r=lqd
4781c7f2417 Auto merge of #147486 - petrochenkov:optpriv, r=lcnr
37d4914adfc Auto merge of #148022 - Zalathar:rollup-3m6ty9u, r=Zalathar
807e76d8fed Rollup merge of #148017 - simp4t7:add-tidy-flags, r=Kobzol
8b76d5fdd8c Rollup merge of #140463 - joshlf:patch-13, r=RalfJung
a2d76b43b49 Auto merge of #148014 - jhpratt:rollup-aglren3, r=jhpratt
3f73f24d9a5 Merge pull request #4645 from rust-lang/rustup-2025-10-23
a8eba9b8772 Merge ref 'af1817002add' from rust-lang/rust
a9f2dfe5f50 Auto merge of #148012 - Zalathar:rollup-ed6cnn8, r=Zalathar
9253622e29d Rollup merge of #147990 - GuillaumeGomez:fix-derive-link, r=notriddle
b771cce1a78 Auto merge of #147826 - Muscraft:update-typos, r=Noratrieb
ab368b1e6a4 Merge pull request #4640 from RalfJung/rustup
5bdccf77f5d Auto merge of #147957 - matthiaskrgr:rollup-aqt593u, r=matthiaskrgr
f512824d221 Merge ref '5acc48d41590' from rust-lang/rust
e741179f5a4 Rollup merge of #147768 - chenyukang:yukang-refactor-report-method-error, r=nnethercote
cc5767cd693 Auto merge of #147954 - weihanglo:update-cargo, r=weihanglo
3dd7cdf3869 Auto merge of #147928 - Zalathar:rollup-2lmpajs, r=Zalathar
b4406c8b839 Rollup merge of #147924 - tshepang:rdg-sync, r=tshepang
5560819454e Merge pull request #2614 from rust-lang/rustc-pull
881fcaaf2c9 Merge pull request #2613 from Enselic/bitcode
c8996166901 Rollup merge of #147577 - JohnTitor:issue-147312, r=davidtwco
ac96d1dbd81 Auto merge of #147892 - Zalathar:rollup-kfcbfex, r=Zalathar
a5a44532524 Rollup merge of #147879 - Zalathar:directive, r=jieyouxu
16a5826649c Rollup merge of #147870 - devnexen:vxworks_simpl_cpu_detect, r=joboet
5cca227c320 Auto merge of #147812 - RalfJung:more-minicore, r=jieyouxu
02adcfe34a2 Auto merge of #147884 - matthiaskrgr:rollup-pjqcccz, r=matthiaskrgr
fe26d425fdf Rollup merge of #147873 - RalfJung:deduce_param_attrs, r=tmiasko
60ad54f97c1 Rollup merge of #147864 - fee1-dead-contrib:consttraitparse, r=fmease
1c2e5c3ee92 Auto merge of #147698 - Kobzol:lld-target, r=jieyouxu
95d300040fe Auto merge of #147847 - WaffleLapkin:hide_box_new, r=joboet
28b3ee5cda2 Auto merge of #147863 - matthiaskrgr:rollup-l4alyf0, r=matthiaskrgr
451737996a6 Rollup merge of #147724 - chenyukang:yukang-fix-139815-ice, r=jdonszelmann
b077d026169 Rollup merge of #147783 - durin42:object-unification, r=Zalathar
ac465156ee8 Rollup merge of #147494 - evanj:evan.jones/thread-spawn-link, r=joboet
c2bab967482 Auto merge of #147654 - dianqk:simplify-const-condition, r=cjgillot
6b554b0efbf Auto merge of #147838 - matthiaskrgr:rollup-r8r148d, r=matthiaskrgr
800262c04a8 Rollup merge of #147824 - moturus:motor-os-docs, r=Urgau
cf9a3cefea9 Rollup merge of #147805 - LorrensP-2158466:extern-mod-disamb, r=petrochenkov
da6ebff42b9 Rollup merge of #147764 - beepster4096:oopsies_sorry, r=saethlin
cab1eee47da Rollup merge of #147454 - ferrocene:hoverbear/panic-abort-uwtables-qnx, r=wesleywiser
b2c7e2f7325 Rollup merge of #147258 - hkBst:panic-last-repeat, r=scottmcm
6773b88d85f Auto merge of #146913 - camsteffen:refactor-lint-syntax, r=fee1-dead
7568026d768 Auto merge of #142540 - cjgillot:renumber-cfg, r=fee1-dead
7dddffd92f4 Auto merge of #147660 - notriddle:stringdex-002, r=GuillaumeGomez
c543558d6a5 Auto merge of #147779 - flip1995:clippy-subtree-update, r=Manishearth
00a09653f91 Auto merge of #147508 - nnethercote:TaskDeps-improvements, r=saethlin
085e1c89983 Auto merge of #147644 - cjgillot:bitsetvec, r=jackh726
844c76fa633 Merge pull request #4637 from rust-lang/rustup-2025-10-16
9fd285972e7 Merge ref '402ce0ef07d5' from rust-lang/rust
de3ee04f34d Auto merge of #146221 - camsteffen:ast-boxes, r=cjgillot
db6a17d02dd Rollup merge of #147742 - Diggsey:db-fix-miri-whitespace, r=RalfJung
afb498552f1 Rollup merge of #147729 - lqd:polonius-diagnostics, r=jackh726
aa9352a2ee8 Rollup merge of #147718 - RalfJung:miri-allocator_shim_contents, r=bjorn3
9e74f01e471 Auto merge of #143548 - Diggsey:db-limit-extern-crate-usage, r=oli-obk
3666b171161 Auto merge of #147619 - nnethercote:union-ne-check, r=Zalathar
e19f5eb4439 Auto merge of #147715 - matthiaskrgr:rollup-611b4x4, r=matthiaskrgr
3d7556da8f9 Rollup merge of #147706 - madsmtm:review-rotation, r=chenyukang
6b3b8bf06ef Rollup merge of #147699 - aDotInTheVoid:doc-comment-doc-comment, r=jdonszelmann
428a574b3f0 Rollup merge of #146949 - pmur:murp/improve-ppc-inline-asm, r=Amanieu
797c67e4f34 Rollup merge of #146841 - bjoernager:const-slice-rotate, r=Amanieu
21ec87565f9 Merge pull request #20836 from Elliot-Roberts/cfg-require-tt
d5efb472118 Auto merge of #147675 - lnicola:sync-from-ra, r=lnicola
d9b52bee0d4 Merge pull request #20835 from ShoyuVanilla/ra-ra
07b4a9a3866 Auto merge of #147662 - Zalathar:rollup-j8ci0f2, r=Zalathar
da86b3982c3 Auto merge of #146414 - GuillaumeGomez:run-test-with-gcc-backend, r=Kobzol
9c24a523963 Rollup merge of #147607 - dianqk:gvn-deref-loop, r=cjgillot
03c43a137c5 Rollup merge of #147594 - vexide:vexos-exit-impl, r=joboet
08edb9d2fa5 Rollup merge of #147546 - chenyukang:yukang-fix-break-label-147542, r=jackh726
6552d331611 Rollup merge of #147497 - cyrgani:proc-macro-cleanups-3, r=petrochenkov
9951cc783a3 Rollup merge of #146976 - npmccallum:clone, r=scottmcm
5bde82b4410 Rollup merge of #146277 - Kivooeo:u64-unlock, r=scottmcm
c451e61be70 Auto merge of #147353 - the8472:nondrop-array-iter, r=scottmcm
b406d66ce5c Auto merge of #147612 - matthiaskrgr:rollup-5u2ledv, r=matthiaskrgr
dc07adcce93 Rollup merge of #147604 - Kivooeo:tear-prev-pr, r=nnethercote
116c92ab9b0 Rollup merge of #147495 - alexcrichton:update-wasm-component-ld, r=Mark-Simulacrum
c44047fe0bf Auto merge of #142390 - cjgillot:mir-liveness, r=davidtwco
e5fdc94bccf Auto merge of #147603 - matthiaskrgr:rollup-j6uae13, r=matthiaskrgr
c32e5d5afc5 Rollup merge of #146692 - Shunpoco:issue-141903, r=Mark-Simulacrum
0038ed1f68b Rollup merge of #145897 - Oneirical:uncountable-integer-11, r=jieyouxu
47ce47a4ad0 Rollup merge of #138799 - joboet:extend-tuple, r=Mark-Simulacrum
2537112bc19 Rollup merge of #147553 - saethlin:wasip3-tier-3, r=petrochenkov
d1f06ad3878 Rollup merge of #147551 - folkertdev:is-multiple-of-overflow-checks, r=Amanieu
2ca0e9298b6 Rollup merge of #147544 - cjgillot:nodeinit, r=saethlin
0b477356be2 Rollup merge of #147523 - krasimirgg:llvm22-rr, r=durin42
df78f2dc5be Auto merge of #147483 - cjgillot:reorder-passes, r=nnethercote
912225583b4 Auto merge of #147519 - Zalathar:rollup-o5f16uo, r=Zalathar
1329ffa06a0 Auto merge of #147466 - jdonszelmann:rollup-swfblpr, r=jdonszelmann
fdc3a1c6c14 Rollup merge of #147390 - ZuseZ4:autodiff-dbg, r=jieyouxu
17ae17a21ea Rollup merge of #146385 - notriddle:no-anim, r=GuillaumeGomez
81e10d31d85 Auto merge of #147423 - nnethercote:DepNodeColor-tweaks, r=cjgillot
eae8d8510e4 Auto merge of #147111 - BoxyUwU:rename_obligation_processing_apis, r=lcnr
72677906c16 Auto merge of #147428 - matthiaskrgr:rollup-k3nlxlu, r=matthiaskrgr
ea75b45cd24 Rollup merge of #147407 - rustbot:docs-update, r=ehuss
343ce92a81d Rollup merge of #147396 - GuillaumeGomez:fluent-tidy-improvements, r=kobzol
72c63abd872 Rollup merge of #147395 - reddevilmidzy:refact-error-msg, r=Kivooeo,jackh726
d219134b708 Rollup merge of #147354 - chenyukang:yukang-fix-147070-wrong-highlight-span, r=estebank
adeb5e47dfe Rollup merge of #147165 - Muscraft:subtract-code-offset, r=davidtwco
eed9ce68425 Rollup merge of #145495 - fee1-dead-contrib:push-tynlnktvrmrx, r=Zalathar
e6604ce0f29 Auto merge of #147099 - cjgillot:split-nop-landing, r=lcnr
c917f94772a Auto merge of #147405 - flip1995:clippy-subtree-update, r=Manishearth
de7f117eb65 Auto merge of #144477 - cjgillot:gvn-index, r=dianqk
8c75895655c Auto merge of #147392 - tshepang:rdg-sync, r=tshepang
ae2034ae44a Auto merge of #147377 - karolzwolak:dont-create-empty-ident-issue-147365, r=nnethercote
b7577b9067a Auto merge of #147360 - chenyukang:yukang-fix-assoc-eq-missing-term, r=nnethercote
50ec1081583 Auto merge of #147375 - folkertdev:power-align-union, r=RalfJung
0c05cc7d6cd Auto merge of #147384 - workingjubilee:rollup-2qqqfn4, r=workingjubilee
4fb631239e2 Merge pull request #20793 from A4-Tacks/diag-paren-missing-unsafe
271dbccdc57 Auto merge of #147363 - Zalathar:rollup-d9kd06g, r=Zalathar
66ef913cd90 Rollup merge of #147337 - ada4a:write-diag-item, r=fmease
0773d0bf3fd Rollup merge of #147320 - chenyukang:yukang-fix-147303-fn-arg, r=jieyouxu
9deda184df6 Rollup merge of #147309 - alexcrichton:wasm-unwinding-docs, r=jieyouxu
c0410a8dcd1 Auto merge of #147293 - nnethercote:avoid-dep_dep_node, r=saethlin
e84f070e7c8 Auto merge of #147340 - matthiaskrgr:rollup-icymmsc, r=matthiaskrgr
6fb6b0c3d07 Rollup merge of #147280 - workingjubilee:you-can-put-your-gcc-in-my-llvm-components, r=Kobzol
d58598dc024 Rollup merge of #147190 - joboet:sys-net-cleanup, r=hkBst,tgross35
fc41f483260 Auto merge of #147323 - chenyukang:yukang-fix-tidy-check, r=jieyouxu
fd651dd9d70 Auto merge of #147308 - matthiaskrgr:rollup-ov04tbi, r=matthiaskrgr
318ebe7d123 Auto merge of #147299 - compiler-errors:hr-norm, r=jackh726
e5e984096f5 Rollup merge of #147277 - fee1-dead-contrib:featiter, r=Zalathar
a0dd027714f Rollup merge of #147245 - karolzwolak:only-replace-intended-bar-not-all-in-pattern, r=lcnr
4085b745a3b Auto merge of #147301 - weihanglo:update-cargo, r=weihanglo
a7fe8f8a999 Auto merge of #143613 - Enselic:panic-abort-uwtables, r=petrochenkov
50ad6a43371 Rollup merge of #147270 - GuillaumeGomez:move-cfg-code, r=lolbinarycat
457e3abe2a5 Rollup merge of #147259 - Zalathar:node-in-context, r=nnethercote
a2b224726f2 Auto merge of #147196 - LorrensP-2158466:same-res-ambiguity-test, r=petrochenkov
6a9b5cad54a Auto merge of #147261 - matthiaskrgr:rollup-yh3fgvc, r=matthiaskrgr
7e0196fdb95 Rollup merge of #147227 - edwloef:box_take, r=joboet
4ff54568b9f Auto merge of #147138 - jackh726:split-canonical-bound, r=lcnr
026c869cff7 Merge pull request #20779 from rust-lang/rustc-pull
9f0bbe2c1a9 Merge ref 'd95aba9b9099' from rust-lang/rust
70c7bb60606 Merge pull request #20745 from Oblarg/fix-negative-int-literals-in-macro-by-example
457e2ea2434 Auto merge of #147169 - jhpratt:rollup-65ooei8, r=jhpratt
8e18523b66c Rollup merge of #147152 - lcnr:instantiate-pre-sized-check, r=BoxyUwU
f7501d7fc16 Rollup merge of #145883 - shepmaster:unify-macos-ci, r=madsmtm
a3aea9a36dd Auto merge of #147162 - matthiaskrgr:rollup-4bv1xzb, r=matthiaskrgr
6fdd45cff15 Rollup merge of #147150 - nikic:alloc-shim-attributes, r=bjorn3
bdc2eebc4a1 Rollup merge of #147133 - GuillaumeGomez:rm-loop-extract_cfg_from_attrs, r=lolbinarycat
49bf70c2130 Rollup merge of #147131 - cjgillot:patch-branches, r=davidtwco
c842b1cd289 Rollup merge of #146937 - joboet:gethostname, r=Mark-Simulacrum
63a3f0092be Auto merge of #146376 - durin42:dwo-specify-path, r=davidtwco
3042d9eadc3 Auto merge of #147151 - Zalathar:rollup-w81rn0j, r=Zalathar
f7b4681aaef Merge pull request #20760 from A4-Tacks/all-any-not-attr-comp
46dc3304de6 Auto merge of #147140 - Zalathar:rollup-rtnqek7, r=Zalathar
026dfbcc47c Auto merge of #147128 - matthiaskrgr:rollup-mqey4c4, r=matthiaskrgr
0a985440913 Rollup merge of #147120 - Shunpoco:issue-147105, r=Kobzol
b0714579194 Rollup merge of #147113 - heiher:src-analysis-lsx, r=lqd
0f92019e828 Rollup merge of #146675 - Jules-Bertholet:sync-nonexclusive, r=Mark-Simulacrum
e3359affdbf Rollup merge of #146763 - Zalathar:di-builder, r=jdonszelmann
5a43ee78ed4 Rollup merge of #146732 - durin42:llvm-22-less-assumes, r=nikic
da40556c504 Rollup merge of #147027 - GuillaumeGomez:tyalias-disambiguator, r=lolbinarycat
8cd34648e57 Rollup merge of #147016 - hkBst:whitespace-1, r=nnethercote
f412d6fab7c Rollup merge of #146778 - nikic:allocator-shim-attributes, r=jackh726
66c1ecc3db7 Rollup merge of #146758 - mati865:amd64_mingw_no_rs_objects, r=petrochenkov
95aa9dc6afd Auto merge of #147037 - matthiaskrgr:rollup-xtgqzuu, r=matthiaskrgr
ff6ff9254e4 Auto merge of #146697 - cjgillot:invalidate-patch, r=lcnr
cbec2ad4986 Rollup merge of #146933 - yotamofek:pr/rustdoc/highlight_no_write_str, r=GuillaumeGomez
5216e84bd20 Rollup merge of #146924 - cptpiepmatz:doc-nonzero-const-creation, r=joboet
23a90ac36f7 Rollup merge of #146293 - BenjaminBrienen:try_remove, r=joboet
fb49aafd4c3 Rollup merge of #146859 - cammeresi:btree-alloc-20250920, r=joboet
58c3af817b5 Auto merge of #147019 - Zalathar:rollup-boxzbmo, r=Zalathar
c8f529afab7 Rollup merge of #147015 - Zalathar:dispose-tm, r=lqd
b726daef078 Rollup merge of #147005 - GuillaumeGomez:string-formatting-cleanup, r=jdonszelmann
cee53b91cdb Rollup merge of #146766 - nikic:global-alloc-attr, r=nnethercote
d57fe15b44b Rollup merge of #146735 - Qelxiros:const_mul_add, r=tgross35,RalfJung
092d06707f9 Rollup merge of #146667 - calebzulawski:simd-mono-lane-limit, r=lcnr,RalfJung
6ad888d9c37 Rollup merge of #145973 - vexide:vex-std, r=tgross35
20670c8ae90 Rollup merge of #145277 - dingxiangfei2009:fold-coercion-into-const, r=nnethercote
605b9551fd5 Rollup merge of #145067 - btj:patch-3, r=tgross35
28c376d2777 Merge pull request #20738 from jackh726/next-trait-solver-next4
e07fa5c8fef Auto merge of #147003 - matthiaskrgr:rollup-b5z9uiz, r=matthiaskrgr
8b464257e05 Merge pull request #20735 from itsjunetime/fix_scip_salsa
b44923eab63 Auto merge of #146981 - weihanglo:update-cargo, r=weihanglo
0635a9bab91 Merge ref '365007b35004' from rust-lang/rust
670cd6e27ca Rollup merge of #146958 - el-ev:fix_path_string_eq_recurse, r=joboet
c819361712b Rollup merge of #146950 - joboet:cstr_default, r=tgross35
b0d9bbbfc7f Rollup merge of #146894 - tiif:suggest_feature_attr, r=BoxyUwU
85d220583a4 Rollup merge of #146753 - tiif:unsatisfiable-unstable-feature, r=BoxyUwU
365007b3500 Auto merge of #146999 - matthiaskrgr:rollup-0gbkm82, r=matthiaskrgr
83e11478047 Rollup merge of #146959 - tshepang:patch-2, r=nnethercote
0e55d3d9262 Rollup merge of #146932 - ShoyuVanilla:ra-in-tree-hack, r=lcnr
d0064d708ea Rollup merge of #146915 - clarfonthey:safe-intrinsics-2, r=RalfJung
d313add81e0 Rollup merge of #146857 - tnuha:revert_self_has_no_region_infer, r=lcnr
2667c67149f Auto merge of #146338 - CrooseGit:dev/reucru01/AArch64-enable-GCS, r=Urgau,davidtwco
f1730de4cf7 Auto merge of #146953 - dianqk:update-llvm, r=cuviper
3de9e426748 Auto merge of #146892 - GuillaumeGomez:rollup-fa7lp0n, r=GuillaumeGomez
eaf375b8341 Rollup merge of #146884 - Kobzol:tidy-rustdoc-modified, r=GuillaumeGomez
bf6a30be461 Rollup merge of #146848 - moturus:motor-os_tier-3, r=davidtwco
a60b73408fa Rollup merge of #146828 - el-ev:issue146646, r=GuillaumeGomez
4746de970ec Auto merge of #146683 - clarfonthey:safe-intrinsics, r=RalfJung,Amanieu
eb343f89b8f Auto merge of #146879 - Zalathar:rollup-vm97j8b, r=Zalathar
c4ab151dc89 Rollup merge of #146831 - taiki-e:powerpc-clobber, r=Amanieu
2f3525836d3 Auto merge of #146862 - matthiaskrgr:rollup-1zqootr, r=matthiaskrgr
a3eec0c1c78 Rollup merge of #146606 - Enselic:test-test-args, r=Mark-Simulacrum
57b349b16dc Rollup merge of #146486 - ferrocene:pvdrz/improve-atomic-coverage, r=ibraheemdev
620ac82a15f Rollup merge of #143857 - Periodic1911:macro-export, r=jdonszelmann
e845ef4ff95 Auto merge of #146659 - cjgillot:impossible-taint, r=oli-obk
dbc18311838 Auto merge of #146779 - GuillaumeGomez:gcc-ignore-test_ui_abi, r=Kobzol,jieyouxu
a21f6a890ec Auto merge of #146812 - matthiaskrgr:rollup-aiap18m, r=matthiaskrgr
02a71816157 Rollup merge of #144592 - fee1-dead-contrib:target_spec, r=Noratrieb
ca8cc1e9750 Auto merge of #146765 - Zalathar:rollup-ewh4s9o, r=Zalathar
ca208f88310 Auto merge of #146727 - matthiaskrgr:rollup-98812uj, r=matthiaskrgr
19ca156ed42 Rollup merge of #146723 - Mark-Simulacrum:relnotes-fix, r=Kobzol
bfd635fb214 Rollup merge of #146622 - aklaiber:91831_add_regression_test, r=jdonszelmann
cf99d09f322 Rollup merge of #146597 - modhanami:add-struct-tail-recursion-limit-span, r=oli-obk
82e25c59e33 Rollup merge of #146487 - ferrocene:pvdrz/improve-num-coverage, r=joboet
c59508f5ec1 Rollup merge of #146434 - folkertdev:c-variadic-inherent-methods, r=workingjubilee
8e0f34b7581 Auto merge of #145993 - lcnr:allow-calling-opaques, r=BoxyUwU
a66ace1b545 Auto merge of #146671 - ZuseZ4:update-enzyme-submodule, r=davidtwco
e7f2c031e51 Auto merge of #142544 - Sa4dUs:prevent-abi-changes, r=ZuseZ4
0350b16b588 Auto merge of #139849 - thaliaarchi:args/zkvm, r=ibraheemdev
75a38db2644 Stabilize 29 RISC-V target features (`riscv_ratified_v2`)
b1dd0a201c6 Auto merge of #142915 - cjgillot:dest-prop-default, r=saethlin
93a37d692ff Auto merge of #146666 - Zalathar:rollup-m2b8low, r=Zalathar
88e1266d01f Rollup merge of #146581 - estebank:issue-146489, r=lcnr
e1ab9200072 Auto merge of #146614 - Zalathar:rollup-hcxvdi1, r=Zalathar
8ca08a1ee75 Rollup merge of #146599 - npmccallum:cleanup, r=fmease
0da689135f0 Rollup merge of #146574 - Zalathar:capture, r=jieyouxu
fb0d83636a9 Rollup merge of #146466 - klensy:llvm-wrapper-c, r=cuviper
88ec62e5357 Rollup merge of #146549 - asomers:freebsd-readdir, r=Mark-Simulacrum
4d8acc5cbfe Auto merge of #146507 - Mark-Simulacrum:add-version, r=Mark-Simulacrum
350445f914f Auto merge of #146526 - jhpratt:rollup-afb1dgo, r=jhpratt
84b78a82481 Rollup merge of #146517 - RalfJung:wait-timeout, r=joboet
c9a90701f70 Rollup merge of #146506 - mikysett:patch-1, r=Urgau
a277ee6085c Rollup merge of #146473 - RalfJung:system-time-deconst, r=workingjubilee
3f8ca1446b6 Rollup merge of #146419 - thejpster…
- Analysis trait: &mut self -> &self, wrap mutable state in RefCell
- ResultsVisitor: &mut results -> &results
- visit_reachable_results: simplified 4-arg -> 3-arg signature
- Providers: registered_tools/codegen_fn_attrs moved under .queries
- OperandRef: add move_annotation field
- BuilderMethods: add scalable_alloca stub
- IntrinsicCallBuilderMethods: add codegen_llvm_intrinsic_call stub
- DebugInfoBuilderMethods: add lifetime parameter
- Arch type: into_owned() -> to_string()
- FieldsShape::Arbitrary: memory_index -> in_memory_order
- FileName: remove prefer_local()
- Rvalue::NullaryOp: removed (no longer exists)
1.94 clippy does not always build dep in order and fails to find
librustc_codegen_gpu.so.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the in-tree rustc_codegen_ssa shim and the out-of-tree GPU codegen crates to build against a newer nightly toolchain (Rust 1.94 era), adapting to upstream rustc API/MIR changes and adding a few new backend hooks needed by the newer compiler.

Changes:

  • Bump the pinned toolchain (rust-toolchain.toml) and update CI ordering to ensure the crates workspace builds on the new nightly.
  • Align codegen and linker/back-end glue with upstream API changes (e.g., Arch/Os/Env/Abi enums, providers.queries, MIR operand changes, diagnostics transport).
  • Introduce new codegen hooks/behaviors (LLVM intrinsic call hook, scalable alloca support point, move/copy profiling annotations).

Reviewed changes

Copilot reviewed 44 out of 44 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
rust/compiler/rustc_codegen_ssa/src/traits/intrinsic.rs Add backend hook for direct LLVM intrinsic calls; adjust VaList wording.
rust/compiler/rustc_codegen_ssa/src/traits/debuginfo.rs Make DebugInfoBuilderMethods generic over 'tcx; add move-annotation hook.
rust/compiler/rustc_codegen_ssa/src/traits/builder.rs Thread 'tcx into DebugInfoBuilderMethods; add scalable_alloca API.
rust/compiler/rustc_codegen_ssa/src/traits/backend.rs Add supported_crate_types/has_zstd defaults; import CrateType.
rust/compiler/rustc_codegen_ssa/src/target_features.rs Refactor target-feature parsing; add validity checks; split target-spec vs -Ctarget-feature handling.
rust/compiler/rustc_codegen_ssa/src/mir/rvalue.rs Route stores through move/copy annotation; adjust MIR pattern changes.
rust/compiler/rustc_codegen_ssa/src/mir/place.rs Use runtime-sized/scalable-vector aware alloca path when needed.
rust/compiler/rustc_codegen_ssa/src/mir/operand.rs Add move_annotation field and annotated store helper; extend vector ABI handling.
rust/compiler/rustc_codegen_ssa/src/mir/naked_asm.rs Use Arch enum; hard error on internal linkage for naked fns.
rust/compiler/rustc_codegen_ssa/src/mir/mod.rs Initialize new move_annotation field for argument locals.
rust/compiler/rustc_codegen_ssa/src/mir/intrinsic.rs Use Arch enum; update valtree API; refine nullary intrinsic error text.
rust/compiler/rustc_codegen_ssa/src/mir/debuginfo.rs Avoid spilling certain scalable-vector predicate types on AArch64.
rust/compiler/rustc_codegen_ssa/src/mir/constant.rs Update valtree API usage and simplify scalar extraction path.
rust/compiler/rustc_codegen_ssa/src/mir/block.rs Add direct LLVM intrinsic-call codegen path; annotate stores; tailcall indirect-return check.
rust/compiler/rustc_codegen_ssa/src/lib.rs Adjust crate-level attrs/imports; update provider wiring to providers.queries.
rust/compiler/rustc_codegen_ssa/src/errors.rs Remove/adjust some diagnostics; add new BPF staticlib diagnostic; add NonScalableType monomorphization diagnostic.
rust/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs Update internal FIXME comment tag.
rust/compiler/rustc_codegen_ssa/src/common.rs Switch mingw-gnu detection to Os/Env/Abi enums.
rust/compiler/rustc_codegen_ssa/src/codegen_attrs.rs Migrate instruction_set parsing to parsed attrs; implement EII attributes; switch sanitizer handling to SanitizerFnAttrs; add RTSAN lint.
rust/compiler/rustc_codegen_ssa/src/base.rs Switch target OS/arch handling to enums; update allocator shim signature; update windows subsystem handling to parsed attrs.
rust/compiler/rustc_codegen_ssa/src/back/write.rs Use session sanitizers; add GPU target flag; improve diagnostic transport (spans) and inline-asm error struct.
rust/compiler/rustc_codegen_ssa/src/back/symbol_export.rs Update provider registration; adjust export semantics for compiler-builtins/EII; migrate arch/os checks to enums.
rust/compiler/rustc_codegen_ssa/src/back/metadata.rs Update OS/ABI handling to enums; use stable target features sets for RISCV flags.
rust/compiler/rustc_codegen_ssa/src/back/linker.rs Migrate to WindowsSubsystemKind; switch arch/os/abi comparisons to enums; improve wasm export handling; replace BPF staticlib panic with diagnostic.
rust/compiler/rustc_codegen_ssa/src/back/link/raw_dylib.rs Switch x86 detection to Arch::X86.
rust/compiler/rustc_codegen_ssa/src/back/link.rs Adjust tempdir placement; update linked crate source types; update config evaluation API; sanitizer runtime selection changes; windows subsystem type changes.
rust/compiler/rustc_codegen_ssa/src/back/archive.rs Switch arch comparisons to enums; adjust which error types are re-exported.
rust/compiler/rustc_codegen_ssa/src/back/apple.rs Switch OS/env/arch comparisons to enums for Apple SDK/platform handling.
rust/compiler/rustc_codegen_ssa/messages.ftl Remove instruction_set/windows_subsystem messages; add BPF staticlib + NonScalableType messages.
rust-toolchain.toml Bump pinned nightly to nightly-2026-01-17 (commented 1.94.0).
crates/rustc-gpu/src/driver.rs Update provider hooking to providers.queries.*.
crates/rustc_codegen_gpu/src/mlir/mod.rs Update prefer_local API usage.
crates/rustc_codegen_gpu/src/mir_thread_sync_check.rs Adjust dataflow trait signatures (&self / results visitor API changes).
crates/rustc_codegen_gpu/src/mir_mut_arg_check.rs Adjust dataflow trait signatures and reachable-results visitor API changes.
crates/rustc_codegen_gpu/src/mir_analysis.rs Adjust dataflow trait signatures; introduce interior mutability for implicit-flow set.
crates/rustc_codegen_gpu/src/context/ty.rs Update FieldsShape pattern; add ScalableVector match arm (currently unimplemented).
crates/rustc_codegen_gpu/src/context/mod.rs Update prefer_local API usage.
crates/rustc_codegen_gpu/src/builder/mod.rs Add scalable_alloca required trait method (currently unimplemented); propagate move_annotation field.
crates/rustc_codegen_gpu/src/builder/intrinsic.rs Implement new LLVM-intrinsic hook as a hard error for GPU backend.
crates/rustc_codegen_gpu/src/builder/debug.rs Update DebugInfoBuilderMethods impl to new 'tcx generic.
crates/rustc_codegen_gpu/src/builder/asm.rs Switch target arch string acquisition to to_string().
crates/rustc_codegen_gpu/src/backend.rs Switch target arch string acquisition to to_string().
crates/rustc_codegen_gpu/src/attr.rs Expand panic-function allowlist.
.github/workflows/rust.yml Reorder/insert cargo build --workspace step for crates workspace.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +860 to +863
/// Default size limit for move/copy annotations (in bytes). 64 bytes is a common size of a cache
/// line, and the assumption is that anything this size or below is very cheap to move/copy, so only
/// annotate copies larger than this.
const MOVE_ANNOTATION_DEFAULT_LIMIT: u64 = 65;

Copilot AI Mar 31, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The documentation and the constant value disagree: the comment says the default move/copy annotation threshold is 64 bytes (cache line), but the constant is set to 65. Either update the constant to 64, or adjust the comment and/or the comparison logic so the documented threshold matches the actual behavior.

Copilot uses AI. Check for mistakes.
Comment on lines +381 to 387
parse_rust_feature_list(
sess,
&sess.target.features,
/* err_callback */
|feature| {
if diagnostics {
sess.dcx().emit_warn(errors::UnknownCTargetFeaturePrefix { feature });
}
panic!("Target spec contains invalid feature {feature}");
},

Copilot AI Mar 31, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

target_spec_to_backend_features will panic! if the target spec features string contains an item without a leading +/-. That turns a user-provided/custom target spec mistake into an ICE. Please emit a proper diagnostic (ideally a fatal error pointing at the invalid target spec field) instead of panicking.

Copilot uses AI. Check for mistakes.
match op {
Operand::Copy(place) | Operand::Move(place) => Some(place.local),
Operand::Constant(_) => None,
Operand::RuntimeChecks(runtime_checks) => todo!(),

Copilot AI Mar 31, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

operand_local leaves the new Operand::RuntimeChecks variant as todo!(), which will panic during MIR analysis if it is encountered. Please either treat it like Operand::Constant (return None), or handle it explicitly in a way that preserves the analysis invariants so GPU codegen doesn’t crash on MIR containing runtime-check operands.

Suggested change
Operand::RuntimeChecks(runtime_checks) => todo!(),
Operand::RuntimeChecks(_) => None,

Copilot uses AI. Check for mistakes.
Comment thread rust/compiler/rustc_codegen_ssa/src/codegen_attrs.rs Outdated
Comment on lines +313 to +319
if
// if this is a default impl
i.is_default
// iterate over all implementations *in the current crate*
// (this is ok since we generate codegen fn attrs in the local crate)
// if any of them is *not default* then don't emit the alias.
&& tcx.externally_implementable_items(LOCAL_CRATE).get(&foreign_item).expect("at least one").1.iter().any(|(_, imp)| !imp.is_default)

Copilot AI Mar 31, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The if condition here is extremely long and currently formatted in a way that makes it difficult to read and review. Please refactor it (e.g. extract into a well-named boolean / helper) and/or reformat it to improve maintainability and reduce the risk of future mistakes when this logic changes.

Suggested change
if
// if this is a default impl
i.is_default
// iterate over all implementations *in the current crate*
// (this is ok since we generate codegen fn attrs in the local crate)
// if any of them is *not default* then don't emit the alias.
&& tcx.externally_implementable_items(LOCAL_CRATE).get(&foreign_item).expect("at least one").1.iter().any(|(_, imp)| !imp.is_default)
let has_non_default_impl_in_current_crate =
tcx.externally_implementable_items(LOCAL_CRATE)
// iterate over all implementations *in the current crate*
// (this is ok since we generate codegen fn attrs in the local crate)
// if any of them is *not default* then don't emit the alias.
.get(&foreign_item)
.expect("at least one")
.1
.iter()
.any(|(_, imp)| !imp.is_default);
if
// if this is a default impl
i.is_default && has_non_default_impl_in_current_crate

Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@ziqiaozhou
Ziqiao Zhou (ziqiaozhou) merged commit 67689ab into main Jul 8, 2026
5 of 6 checks passed
@ziqiaozhou
Ziqiao Zhou (ziqiaozhou) deleted the upgrade-rust-1.94 branch July 8, 2026 05:25
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.

2 participants