Commit graph

316851 commits

Author SHA1 Message Date
Tshepang Mbambo
a2fa618551 sembr src/compiler-debugging.md 2026-02-03 00:49:52 +02:00
Tshepang Mbambo
670fec6bbd reflow 2026-02-03 00:49:36 +02:00
Tshepang Mbambo
222e5216a0 sembr src/building/optimized-build.md 2026-02-03 00:46:00 +02:00
Tshepang Mbambo
e83ee8a2be missing pause 2026-02-03 00:45:01 +02:00
Tshepang Mbambo
d4ff9c8227 less awkward 2026-02-03 00:44:47 +02:00
Tshepang Mbambo
299b429e96 sembr src/building/how-to-build-and-run.md 2026-02-03 00:36:10 +02:00
Tshepang Mbambo
9bafb7744a sembr src/backend/updating-llvm.md 2026-02-03 00:27:12 +02:00
Tshepang Mbambo
616954b0bd whitespace 2026-02-03 00:25:41 +02:00
Tshepang Mbambo
b55c621216 reflow 2026-02-03 00:22:44 +02:00
Tshepang Mbambo
c305590083 more clean 2026-02-03 00:21:02 +02:00
Tshepang Mbambo
b658d1521f a symlink is now helpfully provided 2026-02-03 00:20:22 +02:00
Tshepang Mbambo
4c958e731b this is text with multiple authors 2026-02-03 00:18:37 +02:00
Tshepang Mbambo
ca24637a66 sembr src/backend/debugging.md 2026-02-03 00:12:31 +02:00
Tshepang Mbambo
ed50cc909a I do not expect there will be any confusion 2026-02-03 00:10:50 +02:00
Tshepang Mbambo
06d17c0d3b use convenient notation, as seen in bootstrap.example.toml 2026-02-03 00:10:22 +02:00
Tshepang Mbambo
5143080050 some improvements 2026-02-02 23:38:03 +02:00
Tshepang Mbambo
6169f2e484 sembr src/effects.md 2026-02-02 23:27:41 +02:00
Tshepang Mbambo
f285d5d060 provide the full path 2026-02-02 23:27:22 +02:00
Tshepang Mbambo
957f28c9b8 add some pauses 2026-02-02 23:25:33 +02:00
Tshepang Mbambo
adb3861f98 sembr src/profiling/wpa-profiling.md 2026-02-02 23:18:00 +02:00
Tshepang Mbambo
0e10f69922
Merge pull request #2756 from rust-lang/tshepang-patch-1
external-rustc-drivers.md: some style improvements
2026-02-02 12:24:41 +02:00
Tshepang Mbambo
4956604c7d external-rustc-drivers.md: some improvements 2026-02-02 12:23:49 +02:00
Tshepang Mbambo
15bba047ac
Merge pull request #2757 from rust-lang/tshepang-patch-2
suggested.md: improve a bit
2026-01-31 22:46:25 +02:00
Tshepang Mbambo
4cf181bfa4
suggested.md: improve a bit
It is awkward to continue a sentence after a code block
2026-01-31 21:55:02 +02:00
jyn
3f3a544798
Merge pull request #2754 from ada4a/patch-3
Fix tense
2026-01-31 09:31:06 -05:00
Redddy
48a76d2f87
Merge pull request #2752 from thealtofwar/patch-1
Fix typo in debugging.md
2026-01-31 16:42:39 +09:00
Ada Alakbarova
a77b9e62cc
Fix tense 2026-01-31 07:58:24 +01:00
Tshepang Mbambo
8a133ce46e
Merge pull request #2753 from rust-lang/rustc-pull
Rustc pull update
2026-01-31 04:56:15 +02:00
The rustc-josh-sync Cronjob Bot
678328aa94 Merge ref '44e34e1ac6' from rust-lang/rust
Pull recent changes from https://github.com/rust-lang/rust via Josh.

Upstream ref: rust-lang/rust@44e34e1ac6
Filtered ref: rust-lang/rustc-dev-guide@e740092d12
Upstream diff: 370143facf...44e34e1ac6

This merge was created using https://github.com/rust-lang/josh-sync.
2026-01-31 02:06:15 +00:00
The rustc-josh-sync Cronjob Bot
c8d2f3e6f1 Prepare for merging from rust-lang/rust
This updates the rust-version file to 44e34e1ac6.
2026-01-31 02:06:09 +00:00
R. Yin
5cb916370b
Fix typo in debugging.md 2026-01-30 20:02:48 -06:00
Redddy
c57471edbd
Merge pull request #2751 from reddevilmidzy/fix
fix adk installer link
2026-01-31 08:05:51 +09:00
reddevilmidzy
5f76adf7b3 fix adk installer link 2026-01-31 07:58:47 +09:00
bors
44e34e1ac6 Auto merge of #151875 - JonathanBrouwer:rollup-OPCJQtC, r=JonathanBrouwer
Rollup of 2 pull requests

Successful merges:

 - rust-lang/rust#151281 (constify `Iterator`, take IV)
 - rust-lang/rust#151873 (resolve: Remove `force` parameter from `resolve_ident_in_scope`)
2026-01-30 22:15:51 +00:00
Jonathan Brouwer
4884de4452
Rollup merge of #151873 - petrochenkov:resrefact, r=lqd,estebank
resolve: Remove `force` parameter from `resolve_ident_in_scope`

`force == true` is used for turning `Determinacy::Undetermined` into `Determinacy::Determined` during error recovery.
It's only needed in two places:
- `resolve_macro_or_delegation_path` - the normal case
- `resolve_path_with_ribs` - obscure case, only when resolving visibilities and only for improving diagnostics in `tests\ui\resolve\visibility-indeterminate.rs`, I'm not actually sure if we should keep it

In other cases `Determinacy::Undetermined` is just ignored or can be propagated.
2026-01-30 21:33:11 +01:00
Jonathan Brouwer
58f03f5fe5
Rollup merge of #151281 - fee1-dead-contrib:push-zmqtzvuvlmuk, r=oli-obk
constify `Iterator`, take IV

Like its predecessors (rust-lang/rust#92433, rust-lang/rust#102225, rust-lang/rust#106541), this PR allows one to make `Iterator` implementations `const`, and thus enables the ability to have `for` loops in `const` contexts. I've also included constifying `Option as IntoIterator`, `option::IntoIter as Iterator` as a minimal dogfooding example.

But unlike its predecessors, it uses a new attribute (not unsound anymore!) that prevents any `Iterator` extension methods from being called. This is intentionally made minimal for an initial approval, the fun stuff like `.fold`, `Range as Iterator` could be done later.

cc @rust-lang/wg-const-eval, cc @oli-obk to review the compiler parts

cc rust-lang/rust#92476
2026-01-30 21:33:11 +01:00
bors
a293cc4af8 Auto merge of #151679 - clubby789:lockfile-fix, r=Mark-Simulacrum
Fix lockfile update script

Fixes https://github.com/rust-lang/rust/pull/151354#issuecomment-3795764510

Now passes `shellcheck`

cc @ehuss
2026-01-30 18:57:41 +00:00
Vadim Petrochenkov
ea0ee492bd resolve: Remove force parameter from resolve_ident_in_scope 2026-01-30 21:32:37 +03:00
Deadbeef
02e10b2d90 fix issues and ui tests, address reviews 2026-01-30 15:59:34 +00:00
Deadbeef
6147a3fc88 constify Iterator 2026-01-30 15:52:40 +00:00
Deadbeef
38ee80d48e add #[rustc_non_const_trait_method] 2026-01-30 15:52:38 +00:00
bors
36e2b8a3a7 Auto merge of #151860 - JonathanBrouwer:rollup-FqYVDlY, r=JonathanBrouwer
Rollup of 4 pull requests

Successful merges:

 - rust-lang/rust#151376 (Fix performance issue in liveness checking)
 - rust-lang/rust#151851 (Remove redundant `IntoQueryParam` calls from query plumbing)
 - rust-lang/rust#151854 (Show break type expectation cause for let-else)
 - rust-lang/rust#151859 (Disable append-elements.rs test with debug assertions)
2026-01-30 15:41:56 +00:00
Jonathan Brouwer
a93e9ebe39
Rollup merge of #151859 - nikic:append-elements-test, r=the8472
Disable append-elements.rs test with debug assertions

The IR is a bit different (in particular wrt naming) if debug-assertions-std is enabled. Peculiarly, the issue goes away if overflow-check-std is also enabled, which is why CI did not catch this.

r? @the8472
2026-01-30 13:20:25 +01:00
Jonathan Brouwer
b243d015f4
Rollup merge of #151854 - chenyukang:yukang-fix-142602-let-else-break-diag, r=Kivooeo
Show break type expectation cause for let-else

Fixes rust-lang/rust#142602
2026-01-30 13:20:25 +01:00
Jonathan Brouwer
cfadcbe3ea
Rollup merge of #151851 - Zalathar:into-query-param, r=lqd
Remove redundant `IntoQueryParam` calls from query plumbing

In each of these contexts, the key must have already been converted by the caller, since otherwise it wouldn't have type `Cache::Key`.

There should be no change to compiler behaviour.
2026-01-30 13:20:24 +01:00
Jonathan Brouwer
a4b553804b
Rollup merge of #151376 - chenyukang:yukang-fix-perf, r=lqd
Fix performance issue in liveness checking

r? @ghost

from https://github.com/rust-lang/rust/pull/150955#issuecomment-3769274223
2026-01-30 13:20:23 +01:00
bors
e823167aa6 Auto merge of #151858 - JonathanBrouwer:rollup-0eagSST, r=JonathanBrouwer
Rollup of 3 pull requests

Successful merges:

 - rust-lang/rust#151736 (Make some load-from-disk function pointers optional in query vtables)
 - rust-lang/rust#151831 (Port `rustc_layout` to attribute parser)
 - rust-lang/rust#151856 (Fix flakyness issue with `tests/rustdoc-gui/globals.goml` test)
2026-01-30 12:11:07 +00:00
Nikita Popov
acb5ee2f84 Disable append-elements.rs test with debug assertions
The IR is a bit different (in particular wrt naming) if
debug-assertions-std is enabled. Peculiarly, the issue goes away
if overflow-check-std is also enabled, which is why CI did not
catch this.
2026-01-30 13:01:22 +01:00
Jonathan Brouwer
6d01651dff
Rollup merge of #151856 - GuillaumeGomez:fix-gui-flakyness, r=GuillaumeGomez
Fix flakyness issue with `tests/rustdoc-gui/globals.goml` test

Just realized that when the search input is wrong, sometime we don't even load the search index (which is logical). Since we want to check that the search index is loaded, turned the query into something that works.

r? ghost
2026-01-30 12:12:06 +01:00
Jonathan Brouwer
e19cb30813
Rollup merge of #151831 - clubby789:port-rustc-layout, r=JonathanBrouwer
Port `rustc_layout` to attribute parser

Tracking issue: rust-lang/rust#131229

Uses rust-lang/rust#151827

r? jdonszelmann
2026-01-30 12:12:05 +01:00