Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
170 commits
Select commit Hold shift + click to select a range
e9ae5ec
Merge ref '045b17737dab' from rust-lang/rust
May 4, 2026
821ff1f
Merge pull request #5002 from rust-lang/rustup-2026-05-04
oli-obk May 4, 2026
1a6626b
Merge pull request #4985 from WhySoBad/network-socket-getsockname-for…
RalfJung May 4, 2026
a4b4b76
Merge pull request #4973 from WhySoBad/network-socket-epoll-new
RalfJung May 6, 2026
7046707
Merge ref '4ddd4538a881' from rust-lang/rust
May 7, 2026
d9628bb
Merge pull request #5006 from rust-lang/rustup-2026-05-07
oli-obk May 7, 2026
79a4546
Merge pull request #5005 from WhySoBad/network-socket-getsockopt
RalfJung May 8, 2026
f68eacb
Merge pull request #5009 from WhySoBad/network-socket-fix-shutdown
RalfJung May 12, 2026
a03e707
Merge ref 'c8c4c83d57d3' from rust-lang/rust
May 13, 2026
fb3a14e
Merge pull request #5035 from rust-lang/rustup-2026-05-13
oli-obk May 13, 2026
c833a90
Merge pull request #5031 from WhySoBad/network-socket-more-socket-opt…
RalfJung May 13, 2026
7cba7fc
Merge ref '281c97c3240a' from rust-lang/rust
May 17, 2026
96016b7
Merge pull request #5048 from rust-lang/rustup-2026-05-17
RalfJung May 17, 2026
41ab680
Merge pull request #5036 from WhySoBad/network-socket-fix-blocking-co…
RalfJung May 19, 2026
b5f1ccb
Merge ref '1f8e04d34ab0' from rust-lang/rust
May 20, 2026
f8af941
Merge pull request #5052 from rust-lang/rustup-2026-05-20
RalfJung May 20, 2026
920308b
Merge pull request #5054 from WhySoBad/network-socket-fix-deallocate-…
RalfJung May 24, 2026
8531441
Merge pull request #5053 from WhySoBad/network-socket-test-fill-buffe…
RalfJung May 24, 2026
9038772
Merge pull request #5040 from arpitjain099/chore/sysroots-permissions
RalfJung May 26, 2026
7016514
Merge pull request #5042 from WhySoBad/network-socket-read-write-timeout
RalfJung May 26, 2026
b2334c4
Merge ref '8f02e856be94' from rust-lang/rust
May 28, 2026
748e545
Merge pull request #5072 from rust-lang/rustup-2026-05-28
RalfJung May 28, 2026
552a464
Merge pull request #5073 from RalfJung/flock-tests
RalfJung May 28, 2026
5607595
Merge pull request #5071 from WhySoBad/level-triggered-epoll
RalfJung May 29, 2026
37cfe82
Merge pull request #5070 from folkertdev/aarch64-pmull64
RalfJung May 31, 2026
90e030a
Merge ref 'bef8e620f19a' from rust-lang/rust
RalfJung Jun 1, 2026
c5b1a14
Merge pull request #5082 from RalfJung/win-metadata
RalfJung Jun 1, 2026
9f50864
Merge pull request #5068 from moabo3li/priroda
oli-obk Jun 1, 2026
81f4b6c
Merge ref '76dfce2cb2d3' from rust-lang/rust
Jun 4, 2026
885f2fb
Merge pull request #5089 from rust-lang/rustup-2026-06-04
RalfJung Jun 4, 2026
962fbd4
Merge pull request #5087 from RalfJung/CreateFileW
RalfJung Jun 4, 2026
e51b802
Merge ref '3179a47d6771' from rust-lang/rust
Jun 5, 2026
3344b68
Merge pull request #5090 from rust-lang/rustup-2026-06-05
RalfJung Jun 5, 2026
119698a
Merge pull request #5092 from RalfJung/aes
RalfJung Jun 5, 2026
4607a6f
Merge pull request #5091 from RalfJung/cron
RalfJung Jun 5, 2026
8b9938e
Merge pull request #5076 from RalfJung/native-tests
oli-obk Jun 6, 2026
f5bdc8e
Merge ref '01f54e80e888' from rust-lang/rust
Jun 21, 2026
605c8e2
Merge pull request #5121 from rust-lang/rustup-2026-06-21
RalfJung Jun 21, 2026
0726073
Merge pull request #5119 from moabo3li/restructured_locals
oli-obk Jun 22, 2026
666fb8b
Merge pull request #5114 from joboet/min-netbsd
RalfJung Jun 23, 2026
c475d28
Merge pull request #5063 from foonathan/master
RalfJung Jun 24, 2026
2df9b4d
Merge pull request #5106 from WhySoBad/network-sockets-stay-readable-…
RalfJung Jun 27, 2026
05ff110
Merge pull request #5088 from RalfJung/dealloc-protected
RalfJung Jun 27, 2026
7c55a06
Merge ref 'fd07dbfc91b7' from rust-lang/rust
Jun 28, 2026
0483cd2
Merge pull request #5142 from rust-lang/rustup-2026-06-28
RalfJung Jun 28, 2026
0f1ed8a
Merge pull request #5144 from WhySoBad/network-socket-assert-no-write…
RalfJung Jun 28, 2026
e4b96e7
Merge pull request #5135 from moabo3li/locals-handling
oli-obk Jun 29, 2026
5e660c4
Merge ref 'b960fcf2ff0f' from rust-lang/rust
Jul 7, 2026
8d67034
Merge pull request #5163 from rust-lang/rustup-2026-07-07
RalfJung Jul 7, 2026
8732afe
Merge pull request #5165 from AaronChen0/master
RalfJung Jul 7, 2026
a9cef6e
Merge pull request #5161 from WhySoBad/virtual-socket-trait-impl
RalfJung Jul 8, 2026
9b884c8
Merge pull request #5166 from RalfJung/block-reason-ref
RalfJung Jul 9, 2026
7a194f3
Merge pull request #22635 from ribru17/glt_bump
ChayimFriedman2 Jul 9, 2026
5f88d23
Merge pull request #22405 from MavenRain/feat-must-use-container-exprs
ChayimFriedman2 Jul 10, 2026
d426f82
Merge pull request #5159 from RalfJung/remove-force-intrinsic-fallback
RalfJung Jul 10, 2026
f64e801
Merge pull request #5120 from enthropy7/support-file-set-times
RalfJung Jul 11, 2026
352ba91
Merge pull request #5145 from faukah/faukah/push-toxnyonrrnys
RalfJung Jul 11, 2026
b4f367d
Merge pull request #5111 from cbeuw/mo-sc-fix
RalfJung Jul 12, 2026
9ec0e53
Merge pull request #5148 from TheDoctor314/refactor-libc-tests
RalfJung Jul 12, 2026
19d6c5a
Merge ref '38a0576951fb' from rust-lang/rust
Jul 15, 2026
37ef7dc
Merge pull request #5196 from rust-lang/rustup-2026-07-15
RalfJung Jul 15, 2026
f1fd576
Merge pull request #5192 from WhySoBad/network-socket-lazy-destroy
RalfJung Jul 15, 2026
908f34b
Merge pull request #22634 from UnknownHacker1/fix/21638-flycheck-inde…
Veykril Jul 15, 2026
6e9db30
Merge pull request #5189 from faukah/faukah/push-quwzmrnzkxuu
RalfJung Jul 16, 2026
846dc2b
Merge ref '4a9d5368df64' from rust-lang/rust
Jul 17, 2026
e106589
Merge pull request #5211 from rust-lang/rustup-2026-07-17
oli-obk Jul 17, 2026
5292d61
Merge pull request #5210 from RalfJung/readiness-watched
RalfJung Jul 17, 2026
e99b7a3
Merge pull request #22483 from ChayimFriedman2/destructuring-assignme…
Veykril Jul 17, 2026
2fa79cc
Merge pull request #5208 from RalfJung/ai
RalfJung Jul 18, 2026
043e4d9
Merge ref 'c904ba32e22c' from rust-lang/rust
Jul 19, 2026
d5c73b5
Merge pull request #5218 from rust-lang/rustup-2026-07-19
RalfJung Jul 19, 2026
e3f3e06
Merge pull request #5217 from moabo3li/local-value-bytes-handling
oli-obk Jul 20, 2026
6eb971c
Merge pull request #5216 from RalfJung/riscv
RalfJung Jul 21, 2026
3ebca52
Merge ref '1af98b7cdf86' from rust-lang/rust
RalfJung Jul 22, 2026
ad99409
Merge pull request #5224 from RalfJung/rustup
RalfJung Jul 22, 2026
69d306f
Merge pull request #5220 from moabo3li/handle-projected-values
oli-obk Jul 23, 2026
4505240
Auto merge of #159455 - Kobzol:bootstrap-discover-lldb, r=jieyouxu
bors Jul 25, 2026
ad26e5f
Auto merge of #158298 - Walnut356:di_compiletest, r=Kobzol,jieyouxu
bors Jul 26, 2026
f1fbe03
Rollup merge of #159774 - InvalidPathException:fix-old-solver-hang, r…
JonathanBrouwer Jul 26, 2026
d975e96
Rollup merge of #159962 - RalfJung:miri, r=RalfJung
JonathanBrouwer Jul 26, 2026
b88ac94
Rollup merge of #159733 - alexcrichton:wasi-thread-locals, r=clarfonthey
JonathanBrouwer Jul 26, 2026
c3dc94e
Rollup merge of #159810 - chenyukang:yukang-fix-100727-tuple-never-co…
JonathanBrouwer Jul 26, 2026
2a3196a
Rollup merge of #159895 - tshepang:rdg-sync, r=tshepang
JonathanBrouwer Jul 26, 2026
23db9c2
Rollup merge of #159902 - Urgau:runtime-symbols-for-current-target, r…
JonathanBrouwer Jul 26, 2026
58e772e
Rollup merge of #159914 - amirHdev:fix-on-unmatched-args, r=mejrs
JonathanBrouwer Jul 26, 2026
200dd56
Rollup merge of #159917 - bend-n:split_at_capacity_constifications, r…
JonathanBrouwer Jul 26, 2026
aa9d853
Rollup merge of #159918 - RalfJung:abort_unwind, r=hanna-kruppe
JonathanBrouwer Jul 26, 2026
82e6d5d
Rollup merge of #159927 - chrisnc:aarch64-v9a-no-sve2, r=folkertdev
JonathanBrouwer Jul 26, 2026
4f22a6d
Rollup merge of #159936 - mejrs:ast_docs, r=chenyukang
JonathanBrouwer Jul 26, 2026
4e0c4f4
Rollup merge of #159945 - nirmaladvani:nonnull_expect, r=jhpratt
JonathanBrouwer Jul 26, 2026
92a71d6
Rollup merge of #159950 - Darksonn:cfi-return-types, r=folkertdev
JonathanBrouwer Jul 26, 2026
de2b229
Auto merge of #158901 - veluca93:optimize-attr-closure-inherit, r=wes…
bors Jul 26, 2026
120a76f
Auto merge of #159224 - adwinwhite:cache-depth-fcw, r=lcnr
bors Jul 26, 2026
2476b8a
Auto merge of #159966 - JonathanBrouwer:rollup-efqUEIj, r=JonathanBro…
bors Jul 26, 2026
13880f7
Auto merge of #159317 - workingjubilee:aarch64-bool-callconv, r=david…
bors Jul 27, 2026
84ee87f
ci: Make the `x86_64-gnu-parallel-frontend` job non-optional
petrochenkov Jul 24, 2026
cea0c76
Rollup merge of #160009 - lnicola:sync-from-ra, r=lnicola
JonathanBrouwer Jul 27, 2026
4efa24d
Rollup merge of #159833 - petrochenkov:parci, r=jieyouxu
JonathanBrouwer Jul 27, 2026
cd4e375
Rollup merge of #158873 - paradoxicalguy:brepro-msvc, r=ChrisDenton
JonathanBrouwer Jul 27, 2026
1849563
Rollup merge of #159777 - oli-obk:really-comptime-this-time, r=fmease
JonathanBrouwer Jul 27, 2026
3708559
Rollup merge of #159997 - estebank:many-move-spans, r=ShoyuVanilla
JonathanBrouwer Jul 27, 2026
7ace2c0
Rollup merge of #158205 - cordx56:fix/const-coherence, r=lcnr
JonathanBrouwer Jul 27, 2026
a2460f8
Rollup merge of #159312 - the8472:stdio-swap-win, r=ChrisDenton
JonathanBrouwer Jul 27, 2026
accf1f4
Rollup merge of #159772 - amirHdev:fix-lower-universe-const, r=lcnr
JonathanBrouwer Jul 27, 2026
49b7758
Rollup merge of #159785 - bjorn3:refactor_unwind2, r=clarfonthey
JonathanBrouwer Jul 27, 2026
3c8da3f
Rollup merge of #159968 - Randl:fix_sugg, r=oli-obk
JonathanBrouwer Jul 27, 2026
2ecaec7
Rollup merge of #159974 - panstromek:update-thin-vec, r=mejrs
JonathanBrouwer Jul 27, 2026
ef664bc
Rollup merge of #160013 - petrochenkov:ignpartest1, r=jieyouxu
JonathanBrouwer Jul 27, 2026
1621588
Rollup merge of #160016 - RalfJung:compiletest-json, r=petrochenkov
JonathanBrouwer Jul 27, 2026
3bc2fc8
Rollup merge of #160018 - RalfJung:abi-required-target-feature, r=mejrs
JonathanBrouwer Jul 27, 2026
8a60a94
Auto merge of #160021 - JonathanBrouwer:rollup-o52lFrD, r=JonathanBro…
bors Jul 27, 2026
9fdcfbf
Auto merge of #158059 - xmakro:perf/lexer-ascii-symbolgallery, r=cjgi…
bors Jul 27, 2026
feaf0e5
Many "predicate"-to-"clause" renamings
nnethercote May 28, 2026
0924102
Auto merge of #159992 - Kobzol:no-test-in-i586, r=jieyouxu
bors Jul 28, 2026
7c5bc3f
Rollup merge of #159990 - nnethercote:predicate-to-clause, r=oli-obk
JonathanBrouwer Jul 28, 2026
518dbc1
Rollup merge of #159665 - addiesh:turbofish-fear-me, r=oli-obk
JonathanBrouwer Jul 28, 2026
75d7906
Rollup merge of #159687 - camelid:rustdoc-max_level_info, r=Mark-Simu…
JonathanBrouwer Jul 28, 2026
0a766b1
Rollup merge of #160057 - clubby789:local-optimizations, r=RalfJung
JonathanBrouwer Jul 28, 2026
bb499e0
Rollup merge of #160060 - glandium:issue159867, r=oli-obk
JonathanBrouwer Jul 28, 2026
88a8076
Rollup merge of #160063 - xmakro:fix/parallel-dump-dep-graph-ice, r=p…
JonathanBrouwer Jul 28, 2026
fe5701a
Rollup merge of #160065 - xmakro:cleanup/dep-graph-index-space-len, r…
JonathanBrouwer Jul 28, 2026
dae72fd
Rollup merge of #158038 - nbdd0121:register_tool, r=mejrs
JonathanBrouwer Jul 28, 2026
b0a501f
Rollup merge of #159776 - Syvraa:main, r=LawnGnome
JonathanBrouwer Jul 28, 2026
f2dcda9
Rollup merge of #159978 - xonx4l:x86-intrinsic-test-default, r=Kobzol
JonathanBrouwer Jul 28, 2026
51f7659
Rollup merge of #160008 - TaKO8Ki:fix-stale-closure-recovery, r=mati865
JonathanBrouwer Jul 28, 2026
620d5b9
Rollup merge of #160027 - zakrad:regr-test-132767, r=chenyukang
JonathanBrouwer Jul 28, 2026
bc33ce7
Rollup merge of #160030 - GuillaumeGomez:update-browser-ui-test, r=Gu…
JonathanBrouwer Jul 28, 2026
27e6a7f
Rollup merge of #160046 - nnethercote:attr-errors-2, r=estebank
JonathanBrouwer Jul 28, 2026
81a9796
Rollup merge of #160056 - chenyukang:yukang-fix-159813-assoc-fn-turbo…
JonathanBrouwer Jul 28, 2026
0a0e06c
Rollup merge of #160069 - renovate-bot:renovate/crate-tracing-subscri…
JonathanBrouwer Jul 28, 2026
2ce6b3c
Rollup merge of #160071 - RalfJung:sanitize_standard_fds, r=clarfonthey
JonathanBrouwer Jul 28, 2026
b464e41
Rollup merge of #160076 - marcoieni:renovate-lockfile-update-fix, r=K…
JonathanBrouwer Jul 28, 2026
12611be
Rollup merge of #160092 - RalfJung:miri-native, r=oli-obk
JonathanBrouwer Jul 28, 2026
215ae56
Rollup merge of #160093 - ehuss:triagebot-cargo, r=weihanglo
JonathanBrouwer Jul 28, 2026
82e1801
Rollup merge of #160094 - ehuss:triagebot-lang-docs, r=traviscross
JonathanBrouwer Jul 28, 2026
1592b3b
Auto merge of #160102 - JonathanBrouwer:rollup-0WT4269, r=JonathanBro…
bors Jul 28, 2026
72ee073
Auto merge of #159854 - camelid:selfty-head, r=notriddle,GuillaumeGomez
bors Jul 28, 2026
b6b3a99
Auto merge of #160073 - panstromek:avoid-trusted-len-thin-vec, r=nnet…
bors Jul 29, 2026
8d5f41b
rustc: Support `--jobs` options for limiting parallelism in various p…
petrochenkov Jul 17, 2026
66fb8a9
Auto merge of #159592 - joboet:range_distribution, r=JohnTitor
bors Jul 29, 2026
22b6673
Auto merge of #159898 - xonx4l:intrinsic-test-sample-rate, r=Kobzol
bors Jul 31, 2026
8e42a4a
Auto merge of #159836 - adwinwhite:unify-methods, r=lcnr
bors Jul 31, 2026
df33dd0
Rollup merge of #159675 - petrochenkov:jjj, r=bjorn3
JonathanBrouwer Jul 31, 2026
7901723
Rollup merge of #159999 - Kobzol:bootstrap-codegen-backend-invalidati…
JonathanBrouwer Jul 31, 2026
49b4900
Rollup merge of #160233 - estebank:issue-92685, r=JohnTitor
JonathanBrouwer Jul 31, 2026
d854496
Rollup merge of #160272 - petrochenkov:metamove, r=nnethercote
JonathanBrouwer Jul 31, 2026
c7474e5
Rollup merge of #154202 - ytmimi:format_cfg_select, r=jieyouxu
JonathanBrouwer Jul 31, 2026
8cce480
Rollup merge of #159520 - bb1yd:fix-159491, r=folkertdev
JonathanBrouwer Jul 31, 2026
c7be1a8
Rollup merge of #159710 - Kobzol:bootstrap-pgo-artifacts, r=Mark-Simu…
JonathanBrouwer Jul 31, 2026
d475db2
Rollup merge of #160034 - sethryanrollins:sethr/issue-153101/check_ma…
JonathanBrouwer Jul 31, 2026
aea130e
Rollup merge of #160066 - mejrs:middle_exports, r=ShoyuVanilla
JonathanBrouwer Jul 31, 2026
b155b81
Rollup merge of #160085 - mejrs:bye_lints, r=JonathanBrouwer,mu001999
JonathanBrouwer Jul 31, 2026
accc256
Rollup merge of #160113 - qaijuang:coalesce_on_unimplemented, r=mejrs
JonathanBrouwer Jul 31, 2026
b9c842b
Rollup merge of #160119 - adwinwhite:fix-coroutine-cycle, r=ShoyuVanilla
JonathanBrouwer Jul 31, 2026
e153a97
Rollup merge of #160147 - petrochenkov:nozthreadsts, r=jieyouxu
JonathanBrouwer Jul 31, 2026
505ffad
Rollup merge of #160157 - beetrees:va-list-outdated-backend-comments,…
JonathanBrouwer Jul 31, 2026
c72d5dd
Rollup merge of #160159 - Urgau:invalid_ref_casts-unsafe-cell, r=mejrs
JonathanBrouwer Jul 31, 2026
15280af
Rollup merge of #160208 - GuillaumeGomez:opaque-ty, r=notriddle
JonathanBrouwer Jul 31, 2026
7a3fd02
Rollup merge of #160244 - teor2345:extra-splat-renames, r=jieyouxu
JonathanBrouwer Jul 31, 2026
266455f
Rollup merge of #160246 - Albab-Hasan:pin-ergonomics-unused-mut, r=pe…
JonathanBrouwer Jul 31, 2026
18baaf8
Rollup merge of #160247 - jieyouxu:rustfmt-backports, r=Kobzol
JonathanBrouwer Jul 31, 2026
074efb0
Rollup merge of #160274 - marcoieni:automate-lockfile-updates, r=Kobzol
JonathanBrouwer Jul 31, 2026
531cd3b
Auto merge of #160284 - JonathanBrouwer:rollup-Jwar7OO, r=JonathanBro…
bors Jul 31, 2026
13a8c47
Auto merge of #158823 - Kobzol:flatten-search-paths, r=petrochenkov
bors Jul 31, 2026
0f54578
Auto merge of #160193 - nnethercote:improve-cfg-traversal, r=cjgillot
bors Aug 1, 2026
f053cec
Auto merge of #160245 - xmakro:perf/location-map-single-alloc, r=nnet…
bors Aug 1, 2026
d9f7ce8
Auto merge of #157869 - arjunr2:bump-cc, r=Mark-Simulacrum
bors Aug 2, 2026
b20e9aa
Auto merge of #155452 - makai410:enum-debug-array, r=nnethercote
bors Aug 2, 2026
b1d09db
Prepare for merging from rust-lang/rust
invalid-email-address Aug 3, 2026
396e4b3
Merge ref '22057b88b091' from rust-lang/rust
invalid-email-address Aug 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
da86f4d0726be475afbbffe40cb2f65741c51ad3
22057b88b091743bc0fd8d592a9264f0a6951403
2 changes: 1 addition & 1 deletion src/backend/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ tutorial above):
- The `-Z print-llvm-passes` option will print out LLVM optimization passes being run
- The `-Z time-llvm-passes` option measures the time of each LLVM pass
- The `-Z verify-llvm-ir` option will verify the LLVM IR for correctness
- The `-Z no-parallel-backend` will disable parallel compilation of distinct compilation units
- The `--jobs-backend=1` will disable parallel compilation of distinct compilation units
- The `-Z llvm-time-trace` option will output a Chrome profiler compatible JSON file
which contains details and timings for LLVM passes.
- The `-C llvm-args=-opt-bisect-limit=<index>` option allows for bisecting LLVM optimizations.
Expand Down
4 changes: 2 additions & 2 deletions src/compiler-debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ Here are some notable ones:
| `rustc_dump_item_bounds` | Dumps the [`item_bounds`] of an item. |
| `rustc_dump_layout` | [See this section](#debugging-type-layouts). |
| `rustc_dump_object_lifetime_defaults` | Dumps the [object lifetime defaults] of an item. |
| `rustc_dump_predicates` | Dumps the [`predicates_of`] an item. |
| `rustc_dump_predicates` | Dumps the [`clauses_of`] an item. |
| `rustc_dump_symbol_name` | Dumps the mangled & demangled [`symbol_name`] of an item. |
| `rustc_dump_variances` | Dumps the [variances] of an item. |
| `rustc_dump_vtable` | Dumps the vtable layout of an impl, or a type alias of a dyn type. |
Expand All @@ -293,7 +293,7 @@ Right below you can find elaborate explainers on a selected few.
[`def_path_str`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/context/struct.TyCtxt.html#method.def_path_str
[`inferred_outlives_of`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/context/struct.TyCtxt.html#method.inferred_outlives_of
[`item_bounds`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/context/struct.TyCtxt.html#method.item_bounds
[`predicates_of`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/context/struct.TyCtxt.html#method.predicates_of
[`clauses_of`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/context/struct.TyCtxt.html#method.clauses_of
[`symbol_name`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/context/struct.TyCtxt.html#method.symbol_name
[object lifetime defaults]: https://doc.rust-lang.org/reference/lifetime-elision.html#default-trait-object-lifetimes
[opaq]: ./opaque-types-impl-trait-inference.md
Expand Down
10 changes: 5 additions & 5 deletions src/effects.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@ Because `[const] Tr`, or rather `Maybe` bounds
apply differently based on whichever contexts they are in, they have different
behavior than normal bounds.
Where normal trait bounds on a function such as
`T: Tr` are collected within the [`predicates_of`] query to be proven when a
`T: Tr` are collected within the [`clauses_of`] query to be proven when a
function is called and to be assumed within the function, bounds such as
`T: [const] Tr` will behave as a normal trait bound and add `T: Tr` to the result
from `predicates_of`, but also adds a `HostEffectPredicate` to the [`const_conditions`] query.
from `clauses_of`, but also adds a `HostEffectPredicate` to the [`const_conditions`] query.

On the other hand, `T: const Tr` bounds do not change meaning across contexts,
therefore they will result in `HostEffect(T: Tr, const)` being added to
`predicates_of`, and not `const_conditions`.
`clauses_of`, and not `const_conditions`.

[`HostEffectPredicate`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_type_ir/predicate/struct.HostEffectPredicate.html
[`predicates_of`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/struct.TyCtxt.html#method.predicates_of
[`clauses_of`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/struct.TyCtxt.html#method.clauses_of
[`const_conditions`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/struct.TyCtxt.html#method.const_conditions

## The `const_conditions` query

`predicates_of` represents a set of predicates that need to be proven to use an item.
`clauses_of` represents a set of clauses that need to be proven to use an item.
For example, to use `foo` in the example below:

```rust
Expand Down
14 changes: 7 additions & 7 deletions src/return-position-impl-trait-in-trait.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ The main addition for RPITITs is that during lowering we track the
relationship between the captured lifetimes and the corresponding
duplicated lifetimes in an additional field,
[`OpaqueTy::lifetime_mapping`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir/hir/struct.OpaqueTy.html#structfield.lifetime_mapping).
We use this lifetime mapping later on in `predicates_of` to install
We use this lifetime mapping later on in `clauses_of` to install
bounds that enforce equality between these duplicated lifetimes and
their source lifetimes in order to properly typecheck these GATs, which
will be discussed below.
Expand Down Expand Up @@ -171,18 +171,18 @@ perhaps by a interested new contributor.
##### `opt_rpitit_info`

Some queries rely on computing information that would result in cycles
if we were to feed them eagerly, like `explicit_predicates_of`.
Therefore we defer to the `predicates_of` provider to return the right
if we were to feed them eagerly, like `explicit_clauses_of`.
Therefore we defer to the `clauses_of` provider to return the right
value for our RPITIT's GAT. We do this by detecting early on in the
query if the associated type is synthetic by using
[`opt_rpitit_info`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/context/struct.TyCtxt.html#method.opt_rpitit_info),
which returns `Some` if the associated type is synthetic.

Then, during a query like `explicit_predicates_of`, we can detect if an
Then, during a query like `explicit_clauses_of`, we can detect if an
associated type is synthetic like:

```rust
fn explicit_predicates_of(tcx: TyCtxt<'_>, def_id: LocalDefId) -> ... {
fn explicit_clauses_of(tcx: TyCtxt<'_>, def_id: LocalDefId) -> ... {
if let Some(rpitit_info) = tcx.opt_rpitit_info(def_id) {
// Do something special for RPITITs...
return ...;
Expand All @@ -192,7 +192,7 @@ fn explicit_predicates_of(tcx: TyCtxt<'_>, def_id: LocalDefId) -> ... {
}
```

##### `explicit_predicates_of`
##### `explicit_clauses_of`

RPITITs begin by copying the predicates of the method that defined it,
both on the trait and impl side.
Expand Down Expand Up @@ -378,7 +378,7 @@ error[E0308]: mismatched types

We check well-formedness of RPITITs just like regular associated types.

Since we added lifetime bounds in `predicates_of` that link the
Since we added lifetime bounds in `clauses_of` that link the
duplicated early-bound lifetimes to their original lifetimes, and we
implemented `assumed_wf_types` which inherits the WF types of the method
from which the RPITIT originates ([#113704]), we have no issues
Expand Down
12 changes: 12 additions & 0 deletions src/tests/x86_64-gnu-parallel-frontend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Parallel frontend testing on CI

If you see any test failures in `tests/ui` from the CI job `x86_64-gnu-parallel-frontend`, please
add `//@ ignore-parallel-frontend triage` to the failing test, even if your PR is otherwise
entirely unrelated to parallel compiler or its testing.
In some time people from the parallel rustc working group will triage the failing test, make a
tracking issue for it, and try to debug the problem.

For more context, see:

* [MCP: Stabilization strategy for rustc parallel frontend](https://github.com/rust-lang/compiler-team/issues/1005)
* Tracking issue: <https://github.com/rust-lang/rust/issues/118698>
6 changes: 3 additions & 3 deletions src/traits/implied-bounds.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ We currently add implied region bounds to avoid explicit annotations. e.g.
`fn foo<'a, T>(x: &'a T)` can freely assume that `T: 'a` holds without specifying it.

There are two kinds of implied bounds: explicit and implicit. Explicit implied bounds
get added to the `fn predicates_of` of the relevant item while implicit ones are
get added to the `fn clauses_of` of the relevant item while implicit ones are
handled... well... implicitly.

## explicit implied bounds
Expand All @@ -18,7 +18,7 @@ This function computes the outlives bounds for each component of the field using
separate implementation.

For ADTs, trait objects, and associated types the initially required predicates are
computed in [`fn check_explicit_predicates`]. This simply uses `fn explicit_predicates_of`
computed in [`fn check_explicit_predicates`]. This simply uses `fn explicit_clauses_of`
without elaborating them.

Region predicates are added via [`fn insert_outlives_predicate`]. This function takes
Expand Down Expand Up @@ -65,7 +65,7 @@ lexical region resolution [only uses the unnormalized types][notnorm].

### proving implicit implied bounds

As the implicit implied bounds are not included in `fn predicates_of` we have to
As the implicit implied bounds are not included in `fn clauses_of` we have to
separately make sure they actually hold. We generally handle this by checking that
all used types are well formed by emitting `WellFormed` predicates.

Expand Down
4 changes: 2 additions & 2 deletions src/typing-parameter-envs.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ whereas different `ParamEnv`s can be used on a per-goal basis.

The [`ParamEnv`][penv] is a list of in-scope where-clauses,
it typically corresponds to a specific item's where clauses.
Some clauses are not explicitly written but are instead implicitly added in the [`predicates_of`][predicates_of] query,
Some clauses are not explicitly written but are instead implicitly added in the [`clauses_of`][clauses_of] query,
such as `ConstArgHasType` or (some) implied bounds.

In most cases `ParamEnv`s are initially created via the [`param_env` query][query] which returns a `ParamEnv` derived from the provided item's where clauses.
Expand Down Expand Up @@ -75,7 +75,7 @@ fn foo2<T>(a: T) {
}
```

[predicates_of]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir_analysis/collect/predicates_of/fn.predicates_of.html
[clauses_of]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir_analysis/collect/clauses_of/fn.clauses_of.html
[method_pred_entailment]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir_analysis/check/compare_impl_item/fn.compare_method_predicate_entailment.html
[query]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/context/struct.TyCtxt.html#method.param_env
[normalization]: normalization.md
Expand Down
Loading