Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
bed754f
Merge ref 'caccb4d0368b' from rust-lang/rust
invalid-email-address Sep 25, 2025
5228980
Merge pull request #20740 from rust-lang/rustc-pull
lnicola Sep 25, 2025
44d3628
Merge pull request #20735 from itsjunetime/fix_scip_salsa
ShoyuVanilla Sep 25, 2025
e65f41f
Merge pull request #20738 from jackh726/next-trait-solver-next4
ShoyuVanilla Sep 25, 2025
15fae3f
Merge pull request #20742 from A4-Tacks/unused-raw-var
ShoyuVanilla Sep 26, 2025
582afd7
Merge pull request #20736 from A4-Tacks/fix-invert-if-let-chain
ShoyuVanilla Sep 26, 2025
86439ca
Merge pull request #20598 from A4-Tacks/let-chain-sup-conv-to-guarded…
ShoyuVanilla Sep 26, 2025
ffaec3c
Merge pull request #20729 from A4-Tacks/const-param-kwd
ShoyuVanilla Sep 26, 2025
a9cf9d7
Merge pull request #20604 from A4-Tacks/cfg-attr-comp
ShoyuVanilla Sep 26, 2025
c4a09ee
Merge pull request #20611 from A4-Tacks/replace-arith-op-prec
ShoyuVanilla Sep 26, 2025
ac3d2af
Merge pull request #20599 from A4-Tacks/bang-de-morgan
ShoyuVanilla Sep 26, 2025
d38b1cb
Merge pull request #19867 from Kivooeo/unsafegate
Veykril Sep 28, 2025
1dad652
Merge pull request #20745 from Oblarg/fix-negative-int-literals-in-ma…
ShoyuVanilla Sep 30, 2025
2a84b21
Merge pull request #20720 from ChayimFriedman2/no-rustup-auto-install
ShoyuVanilla Oct 2, 2025
59a0ec6
Merge pull request #19771 from A4-Tacks/gen-blanket-trait-impl
ShoyuVanilla Oct 7, 2025
1f70483
Merge ref 'fb24b04b096a' from rust-lang/rust
lnicola Oct 14, 2025
84378eb
Merge pull request #20839 from lnicola/rustc-pull
lnicola Oct 14, 2025
419b7dd
Merge pull request #20835 from ShoyuVanilla/ra-ra
ChayimFriedman2 Oct 14, 2025
676b881
Merge pull request #20836 from Elliot-Roberts/cfg-require-tt
ChayimFriedman2 Oct 15, 2025
f11716e
Merge pull request #20757 from Shourya742/force-fileid-invariant-to-i…
Veykril Oct 16, 2025
2ec34f9
Merge pull request #20858 from A4-Tacks/inlay-suffix-underscore
ChayimFriedman2 Oct 17, 2025
90429f5
Merge pull request #20841 from ChayimFriedman2/to-ns
ShoyuVanilla Oct 19, 2025
ad179e4
Merge pull request #20845 from A4-Tacks/migrate-add-braces
ShoyuVanilla Oct 19, 2025
67305d2
Merge pull request #20850 from A4-Tacks/add-mis-match-arms-indent
ShoyuVanilla Oct 21, 2025
e91f7d4
Merge pull request #20771 from A4-Tacks/else-kw-invert-if
ChayimFriedman2 Oct 22, 2025
e77049a
Merge pull request #20755 from A4-Tacks/doc-include
ChayimFriedman2 Oct 22, 2025
5b1a2e8
Merge pull request #20764 from A4-Tacks/fix-guarded-rhs-let-else
Veykril Oct 26, 2025
f3c3614
Merge pull request #20705 from A4-Tacks/flip-range
Veykril Oct 26, 2025
749a292
Merge pull request #20712 from A4-Tacks/destruct-tuple-shorthand
Veykril Oct 26, 2025
1132663
Merge pull request #20589 from A4-Tacks/extract-mod-not-in-impl
Veykril Oct 26, 2025
a2d0517
Merge pull request #19918 from A4-Tacks/remove-else-branches
Veykril Oct 26, 2025
bf56027
Merge pull request #20837 from osdyne/extension-configuration
Veykril Oct 26, 2025
4a57a19
Auto merge of #146069 - camsteffen:range-desugar-span, r=SparrowLii
bors Oct 27, 2025
5918586
Auto merge of #148163 - lnicola:sync-from-ra, r=lnicola
bors Oct 27, 2025
38bd4cf
Auto merge of #148040 - saethlin:trivial-consts, r=oli-obk
bors Oct 27, 2025
f9ed356
Auto merge of #148035 - bjorn3:check_skip_codegen_crate, r=madsmtm
bors Oct 27, 2025
4b1e25c
rustdoc-search: add an integration test for CCI
notriddle Oct 27, 2025
58f61f1
Auto merge of #147083 - dianne:non-extended-indices, r=matthewjasper
bors Oct 28, 2025
c920c5f
Rollup merge of #144936 - rcvalle:rust-cfi-fix-144641, r=lcnr
Zalathar Oct 28, 2025
a92bacd
Rollup merge of #147185 - RalfJung:repr-c-not-zst, r=petrochenkov
Zalathar Oct 28, 2025
ca13c3f
Rollup merge of #147840 - jdonszelmann:unsizing-coercions, r=lcnr
Zalathar Oct 28, 2025
46483fd
Rollup merge of #147915 - pirama-arumuga-nainar:patch-1, r=lqd
Zalathar Oct 28, 2025
bb4bdc3
Rollup merge of #148013 - Mark-Simulacrum:relnotes, r=Mark-Simulacrum
Zalathar Oct 28, 2025
9497b22
Rollup merge of #148044 - jyn514:compiletest-logging, r=Zalathar
Zalathar Oct 28, 2025
fea02f3
Rollup merge of #148057 - Enselic:hwasan-fix-v2, r=nagisa
Zalathar Oct 28, 2025
5841c74
Rollup merge of #148139 - Urgau:add-coverage-scope, r=Zalathar
Zalathar Oct 28, 2025
ae15cd0
Rollup merge of #148172 - tshepang:rdg-sync, r=tshepang
Zalathar Oct 28, 2025
d367237
Rollup merge of #148175 - osamakader:fix-typos-duplicate-words, r=lcnr
Zalathar Oct 28, 2025
b074406
Rollup merge of #148186 - notriddle:test-cci, r=GuillaumeGomez,jieyouxu
Zalathar Oct 28, 2025
8fa389b
Auto merge of #148202 - Zalathar:rollup-2eriuc3, r=Zalathar
bors Oct 28, 2025
94e3146
Auto merge of #146186 - dpaoliello:cc, r=jieyouxu
bors Oct 28, 2025
c7cdb69
Auto merge of #148182 - saethlin:trivial-consts-recursive, r=eholk
bors Oct 28, 2025
06a12a9
Auto merge of #148208 - camsteffen:assign-desugar-span, r=wesleywiser
bors Oct 29, 2025
1a50906
Add rustc-dev-guide documentation for new `--bypass-ignore-backends` …
GuillaumeGomez Oct 29, 2025
3829e86
Auto merge of #148093 - Azzybana:master, r=nnethercote
bors Oct 29, 2025
a72ced6
Auto merge of #148193 - camsteffen:remove-qpath-langitem, r=cjgillot
bors Oct 30, 2025
39ba0f3
Rollup merge of #144291 - oli-obk:const_trait_alias, r=fee1-dead
matthiaskrgr Oct 31, 2025
580be66
Rollup merge of #147633 - GuillaumeGomez:bypass-ignore-backends, r=ko…
matthiaskrgr Oct 31, 2025
0229114
Rollup merge of #148252 - Binlogo:threads-outrage-diagnose-tips, r=nn…
matthiaskrgr Oct 31, 2025
75f66f7
Rollup merge of #148262 - JonathanBrouwer:dead-code-inference, r=nnet…
matthiaskrgr Oct 31, 2025
04149de
Auto merge of #148314 - matthiaskrgr:rollup-yo55adr, r=matthiaskrgr
bors Oct 31, 2025
154fe82
Auto merge of #148157 - nnethercote:undo-chain, r=saethlin
bors Oct 31, 2025
bf1fea0
Auto merge of #144420 - Qelxiros:smart_pointer_try_map, r=joboet
bors Oct 31, 2025
a3c4843
Auto merge of #147784 - nxsaken:div_exact_return_option, r=dtolnay
bors Nov 2, 2025
4349236
Generalize branch references to HEAD
Kobzol Nov 2, 2025
7e04ffc
compiletest: rename add-core-stubs to add-minicore
RalfJung Oct 30, 2025
d7ccee5
Rollup merge of #146573 - Randl:const-range, r=Mark-Simulacrum
matthiaskrgr Nov 2, 2025
2dc5d77
Rollup merge of #146699 - heiher:is-ascii-lsx, r=Mark-Simulacrum
matthiaskrgr Nov 2, 2025
ebda6f7
Rollup merge of #148026 - joboet:dont-leak-thread-closure, r=Mark-Sim…
matthiaskrgr Nov 2, 2025
9047600
Rollup merge of #148135 - hax0kartik:fix-vx-unix-sock, r=Mark-Simulacrum
matthiaskrgr Nov 2, 2025
3fac975
Rollup merge of #148395 - Kobzol:generalize-branch-references, r=marc…
matthiaskrgr Nov 2, 2025
0f1b2fe
Rollup merge of #148405 - Kivooeo:static-span, r=JonathanBrouwer
matthiaskrgr Nov 2, 2025
b0c6f92
Auto merge of #148305 - RalfJung:add-minicore, r=jieyouxu,wesleywiser
bors Nov 2, 2025
d867ed0
Auto merge of #148412 - matthiaskrgr:rollup-59a302x, r=matthiaskrgr
bors Nov 2, 2025
63578e0
Prepare for merging from rust-lang/rust
invalid-email-address Nov 3, 2025
d2bda97
Merge ref 'c5dabe8cf798' from rust-lang/rust
invalid-email-address Nov 3, 2025
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 @@
b1b464d6f61ec8c4e609c1328106378c066a9729
c5dabe8cf798123087d094f06417f5a767ca73e8
2 changes: 1 addition & 1 deletion src/appendix/code-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Item | Kind | Short description | Chapter |
`rustc_hir::Crate` | struct | A more abstract, compiler-friendly form of a crate's AST | [The Hir] | [compiler/rustc_hir/src/hir.rs](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir/hir/struct.Crate.html)
`DefId` | struct | One of four types of HIR node identifiers | [Identifiers in the HIR] | [compiler/rustc_hir/src/def_id.rs](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir/def_id/struct.DefId.html)
`Diag` | struct | A struct for a compiler diagnostic, such as an error or lint | [Emitting Diagnostics] | [compiler/rustc_errors/src/diagnostic.rs](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_errors/struct.Diag.html)
`DocContext` | struct | A state container used by rustdoc when crawling through a crate to gather its documentation | [Rustdoc] | [src/librustdoc/core.rs](https://github.com/rust-lang/rust/blob/master/src/librustdoc/core.rs)
`DocContext` | struct | A state container used by rustdoc when crawling through a crate to gather its documentation | [Rustdoc] | [src/librustdoc/core.rs](https://github.com/rust-lang/rust/blob/HEAD/src/librustdoc/core.rs)
`HirId` | struct | One of four types of HIR node identifiers | [Identifiers in the HIR] | [compiler/rustc_hir_id/src/lib.rs](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir/struct.HirId.html)
`Lexer` | struct | This is the lexer used during parsing. It consumes characters from the raw source code being compiled and produces a series of tokens for use by the rest of the parser | [The parser] | [compiler/rustc_parse/src/lexer/mod.rs](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_parse/lexer/struct.Lexer.html)
`NodeId` | struct | One of four types of HIR node identifiers. Being phased out | [Identifiers in the HIR] | [compiler/rustc_ast/src/ast.rs](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast/node_id/struct.NodeId.html)
Expand Down
2 changes: 1 addition & 1 deletion src/appendix/humorust.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
What's a project without a sense of humor? And frankly some of these are
enlightening?

- [Weird exprs test](https://github.com/rust-lang/rust/blob/master/tests/ui/expr/weird-exprs.rs)
- [Weird exprs test](https://github.com/rust-lang/rust/blob/HEAD/tests/ui/expr/weird-exprs.rs)
- [Ferris Rap](https://fitzgen.com/2018/12/13/rust-raps.html)
- [The Genesis of Generic Germination](https://github.com/rust-lang/rust/pull/53645#issue-210543221)
- [The Bastion of the Turbofish test](https://github.com/rust-lang/rust/blob/79d8a0fcefa5134db2a94739b1d18daa01fc6e9f/src/test/ui/bastion-of-the-turbofish.rs)
Expand Down
2 changes: 1 addition & 1 deletion src/attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Definitions of non-builtin attributes take two forms:
2. AST-based attributes, defined in the standard library. These attributes have special 'stub'
macros defined in places like [`library/core/src/macros/mod.rs`][core_macros].

[core_macros]: https://github.com/rust-lang/rust/blob/master/library/core/src/macros/mod.rs
[core_macros]: https://github.com/rust-lang/rust/blob/HEAD/library/core/src/macros/mod.rs

These definitions exist to allow the macros to participate in typical path-based resolution - they
can be imported, re-exported, and renamed just like any other item definition. However, the body of
Expand Down
2 changes: 1 addition & 1 deletion src/backend/updating-llvm.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ keep in mind while going through them:

[rust-lang/llvm-project repository]: https://github.com/rust-lang/llvm-project
[llvm/llvm-project repository]: https://github.com/llvm/llvm-project
[`llvm-wrapper`]: https://github.com/rust-lang/rust/tree/master/compiler/rustc_llvm/llvm-wrapper
[`llvm-wrapper`]: https://github.com/rust-lang/rust/tree/HEAD/compiler/rustc_llvm/llvm-wrapper
[wg-llvm]: https://rust-lang.zulipchat.com/#narrow/stream/187780-t-compiler.2Fwg-llvm
[Dev Desktops]: https://forge.rust-lang.org/infra/docs/dev-desktop.html
[backport process]: https://llvm.org/docs/GitHub.html#backporting-fixes-to-the-release-branches
2 changes: 1 addition & 1 deletion src/borrow_check/region_inference.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ For each region we maintain a set storing what elements are present in its value
efficient, we give each kind of element an index, the `RegionElementIndex`, and
use sparse bitsets).

[ri]: https://github.com/rust-lang/rust/tree/master/compiler/rustc_borrowck/src/region_infer
[ri]: https://github.com/rust-lang/rust/tree/HEAD/compiler/rustc_borrowck/src/region_infer

The kinds of region elements are as follows:

Expand Down
10 changes: 5 additions & 5 deletions src/building/bootstrapping/how-bootstrap-does-it.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ pub trait Step: 'static + Clone + Debug + PartialEq + Eq + Hash {

There's a couple of preliminary steps before core Bootstrap code is reached:

1. Shell script or `make`: [`./x`](https://github.com/rust-lang/rust/blob/master/x) or [`./x.ps1`](https://github.com/rust-lang/rust/blob/master/x.ps1) or `make`
2. Convenience wrapper script: [`x.py`](https://github.com/rust-lang/rust/blob/master/x.py)
3. [`src/bootstrap/bootstrap.py`](https://github.com/rust-lang/rust/blob/master/src/bootstrap/bootstrap.py)
4. [`src/bootstrap/src/bin/main.rs`](https://github.com/rust-lang/rust/blob/master/src/bootstrap/src/bin/main.rs)
1. Shell script or `make`: [`./x`](https://github.com/rust-lang/rust/blob/HEAD/x) or [`./x.ps1`](https://github.com/rust-lang/rust/blob/HEAD/x.ps1) or `make`
2. Convenience wrapper script: [`x.py`](https://github.com/rust-lang/rust/blob/HEAD/x.py)
3. [`src/bootstrap/bootstrap.py`](https://github.com/rust-lang/rust/blob/HEAD/src/bootstrap/bootstrap.py)
4. [`src/bootstrap/src/bin/main.rs`](https://github.com/rust-lang/rust/blob/HEAD/src/bootstrap/src/bin/main.rs)

See [src/bootstrap/README.md](https://github.com/rust-lang/rust/blob/master/src/bootstrap/README.md)
See [src/bootstrap/README.md](https://github.com/rust-lang/rust/blob/HEAD/src/bootstrap/README.md)
for a more specific description of the implementation details.

[`Step`]: https://doc.rust-lang.org/nightly/nightly-rustc/bootstrap/core/builder/trait.Step.html
Expand Down
10 changes: 5 additions & 5 deletions src/building/bootstrapping/what-bootstrapping-does.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ only way to build a modern version of `rustc` is with a slightly less modern ver
This is exactly how [`./x.py`] works: it downloads the current beta release of
`rustc`, then uses it to compile the new compiler.

[`./x.py`]: https://github.com/rust-lang/rust/blob/master/x.py
[`./x.py`]: https://github.com/rust-lang/rust/blob/HEAD/x.py

Note that this documentation mostly covers user-facing information. See
[bootstrap/README.md][bootstrap-internals] to read about bootstrap internals.

[bootstrap-internals]: https://github.com/rust-lang/rust/blob/master/src/bootstrap/README.md
[bootstrap-internals]: https://github.com/rust-lang/rust/blob/HEAD/src/bootstrap/README.md

## Stages of bootstrapping

Expand Down Expand Up @@ -74,8 +74,8 @@ build the stage2 compiler.
There are two concepts at play here: a compiler (with its set of dependencies) and its
'target' or 'object' libraries (`std` and `rustc`). Both are staged, but in a staggered manner.

[`compiler/rustc`]: https://github.com/rust-lang/rust/tree/master/compiler/rustc
[`src/bootstrap`]: https://github.com/rust-lang/rust/tree/master/src/bootstrap
[`compiler/rustc`]: https://github.com/rust-lang/rust/tree/HEAD/compiler/rustc
[`src/bootstrap`]: https://github.com/rust-lang/rust/tree/HEAD/src/bootstrap

### Stage 1: from current code, by an earlier compiler

Expand Down Expand Up @@ -129,7 +129,7 @@ You can always override the stage by passing `--stage N` explicitly.
For more information about stages, [see
below](#understanding-stages-of-bootstrap).

[`./x`]: https://github.com/rust-lang/rust/blob/master/x
[`./x`]: https://github.com/rust-lang/rust/blob/HEAD/x

## Complications of bootstrapping

Expand Down
2 changes: 1 addition & 1 deletion src/building/prerequisites.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Dependencies

See [the `rust-lang/rust` INSTALL](https://github.com/rust-lang/rust/blob/master/INSTALL.md#dependencies).
See [the `rust-lang/rust` INSTALL](https://github.com/rust-lang/rust/blob/HEAD/INSTALL.md#dependencies).

## Hardware

Expand Down
12 changes: 6 additions & 6 deletions src/building/suggested.md
Original file line number Diff line number Diff line change
Expand Up @@ -451,15 +451,15 @@ pkgs.mkShell {

If you use Bash, Zsh, Fish or PowerShell, you can find automatically-generated shell
completion scripts for `x.py` in
[`src/etc/completions`](https://github.com/rust-lang/rust/tree/master/src/etc/completions).
[`src/etc/completions`](https://github.com/rust-lang/rust/tree/HEAD/src/etc/completions).

You can use `source ./src/etc/completions/x.py.<extension>` to load completions
for your shell of choice, or `& .\src\etc\completions\x.py.ps1` for PowerShell.
Adding this to your shell's startup script (e.g. `.bashrc`) will automatically
load this completion.

[`src/etc/rust_analyzer_settings.json`]: https://github.com/rust-lang/rust/blob/master/src/etc/rust_analyzer_settings.json
[`src/etc/rust_analyzer_eglot.el`]: https://github.com/rust-lang/rust/blob/master/src/etc/rust_analyzer_eglot.el
[`src/etc/rust_analyzer_helix.toml`]: https://github.com/rust-lang/rust/blob/master/src/etc/rust_analyzer_helix.toml
[`src/etc/rust_analyzer_zed.json`]: https://github.com/rust-lang/rust/blob/master/src/etc/rust_analyzer_zed.json
[`src/etc/pre-push.sh`]: https://github.com/rust-lang/rust/blob/master/src/etc/pre-push.sh
[`src/etc/rust_analyzer_settings.json`]: https://github.com/rust-lang/rust/blob/HEAD/src/etc/rust_analyzer_settings.json
[`src/etc/rust_analyzer_eglot.el`]: https://github.com/rust-lang/rust/blob/HEAD/src/etc/rust_analyzer_eglot.el
[`src/etc/rust_analyzer_helix.toml`]: https://github.com/rust-lang/rust/blob/HEAD/src/etc/rust_analyzer_helix.toml
[`src/etc/rust_analyzer_zed.json`]: https://github.com/rust-lang/rust/blob/HEAD/src/etc/rust_analyzer_zed.json
[`src/etc/pre-push.sh`]: https://github.com/rust-lang/rust/blob/HEAD/src/etc/pre-push.sh
4 changes: 2 additions & 2 deletions src/compiler-debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/HEAD/CONTRIBUTING.md#bug-reports
note: rustc 1.24.0-dev running on x86_64-unknown-linux-gnu
Expand Down Expand Up @@ -284,7 +284,7 @@ Here are some notable ones:

Right below you can find elaborate explainers on a selected few.

[`builtin_attrs`]: https://github.com/rust-lang/rust/blob/master/compiler/rustc_feature/src/builtin_attrs.rs
[`builtin_attrs`]: https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc_feature/src/builtin_attrs.rs
[`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
Expand Down
58 changes: 29 additions & 29 deletions src/compiler-src.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,23 @@ The repository consists of three main directories:
- [`src/`] contains the source code for [`rustdoc`], [`clippy`], [`cargo`], the build system,
language docs, etc.

[`alloc`]: https://github.com/rust-lang/rust/tree/master/library/alloc
[`alloc`]: https://github.com/rust-lang/rust/tree/HEAD/library/alloc
[`backtrace`]: https://github.com/rust-lang/backtrace-rs/
[`cargo`]: https://github.com/rust-lang/cargo
[`clippy`]: https://github.com/rust-lang/rust/tree/master/src/tools/clippy
[`compiler/`]: https://github.com/rust-lang/rust/tree/master/compiler
[`core`]: https://github.com/rust-lang/rust/tree/master/library/core
[`etc`]: https://github.com/rust-lang/rust/tree/master/src/etc
[`lang_start`]: https://github.com/rust-lang/rust/blob/master/library/std/src/rt.rs
[`library/`]: https://github.com/rust-lang/rust/tree/master/library
[`proc_macro`]: https://github.com/rust-lang/rust/tree/master/library/proc_macro
[`rtstartup`]: https://github.com/rust-lang/rust/tree/master/library/rtstartup
[`clippy`]: https://github.com/rust-lang/rust/tree/HEAD/src/tools/clippy
[`compiler/`]: https://github.com/rust-lang/rust/tree/HEAD/compiler
[`core`]: https://github.com/rust-lang/rust/tree/HEAD/library/core
[`etc`]: https://github.com/rust-lang/rust/tree/HEAD/src/etc
[`lang_start`]: https://github.com/rust-lang/rust/blob/HEAD/library/std/src/rt.rs
[`library/`]: https://github.com/rust-lang/rust/tree/HEAD/library
[`proc_macro`]: https://github.com/rust-lang/rust/tree/HEAD/library/proc_macro
[`rtstartup`]: https://github.com/rust-lang/rust/tree/HEAD/library/rtstartup
[`rust-lang/rust`]: https://github.com/rust-lang/rust
[`rustdoc`]: https://github.com/rust-lang/rust/tree/master/src/tools/rustdoc
[`src/`]: https://github.com/rust-lang/rust/tree/master/src
[`std`]: https://github.com/rust-lang/rust/tree/master/library/std
[`test`]: https://github.com/rust-lang/rust/tree/master/library/test
[`tests/`]: https://github.com/rust-lang/rust/tree/master/tests
[`rustdoc`]: https://github.com/rust-lang/rust/tree/HEAD/src/tools/rustdoc
[`src/`]: https://github.com/rust-lang/rust/tree/HEAD/src
[`std`]: https://github.com/rust-lang/rust/tree/HEAD/library/std
[`test`]: https://github.com/rust-lang/rust/tree/HEAD/library/test
[`tests/`]: https://github.com/rust-lang/rust/tree/HEAD/tests

## Compiler

Expand Down Expand Up @@ -99,9 +99,9 @@ compiler can interface with it.
Most of this book is about the compiler, so we won't have any further
explanation of these crates here.

[`compiler/rustc_llvm`]: https://github.com/rust-lang/rust/tree/master/compiler/rustc_llvm
[`src/llvm-project`]: https://github.com/rust-lang/rust/tree/master/src/
[`Cargo.toml`]: https://github.com/rust-lang/rust/blob/master/Cargo.toml
[`compiler/rustc_llvm`]: https://github.com/rust-lang/rust/tree/HEAD/compiler/rustc_llvm
[`src/llvm-project`]: https://github.com/rust-lang/rust/tree/HEAD/src/
[`Cargo.toml`]: https://github.com/rust-lang/rust/blob/HEAD/Cargo.toml

### Big picture

Expand Down Expand Up @@ -160,10 +160,10 @@ You can read more about [`rustdoc`] in [this chapter][rustdoc-chapter].

[`librustdoc`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc/index.html
[`rustdoc::main`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc/fn.main.html
[`src/tools/rustdoc-js`]: https://github.com/rust-lang/rust/tree/master/src/tools/rustdoc-js
[`src/tools/rustdoc-themes`]: https://github.com/rust-lang/rust/tree/master/src/tools/rustdoc-themes
[`src/tools/rustdoc`]: https://github.com/rust-lang/rust/tree/master/src/tools/rustdoc
[`src/rustdoc-json-types`]: https://github.com/rust-lang/rust/tree/master/src/rustdoc-json-types
[`src/tools/rustdoc-js`]: https://github.com/rust-lang/rust/tree/HEAD/src/tools/rustdoc-js
[`src/tools/rustdoc-themes`]: https://github.com/rust-lang/rust/tree/HEAD/src/tools/rustdoc-themes
[`src/tools/rustdoc`]: https://github.com/rust-lang/rust/tree/HEAD/src/tools/rustdoc
[`src/rustdoc-json-types`]: https://github.com/rust-lang/rust/tree/HEAD/src/rustdoc-json-types
[rustdoc-chapter]: ./rustdoc.md

## Tests
Expand All @@ -173,7 +173,7 @@ about the test suite [in this chapter][testsch].

The test harness is in [`src/tools/compiletest/`][`compiletest/`].

[`tests/`]: https://github.com/rust-lang/rust/tree/master/tests
[`tests/`]: https://github.com/rust-lang/rust/tree/HEAD/tests
[testsch]: ./tests/intro.md

## Build System
Expand All @@ -186,10 +186,10 @@ One of the primary tools is [`src/bootstrap/`]. You can read more about
bootstrapping [in this chapter][bootstch]. The process may also use other tools
from [`src/tools/`], such as [`tidy/`] or [`compiletest/`].

[`compiletest/`]: https://github.com/rust-lang/rust/tree/master/src/tools/compiletest
[`src/bootstrap/`]: https://github.com/rust-lang/rust/tree/master/src/bootstrap
[`src/tools/`]: https://github.com/rust-lang/rust/tree/master/src/tools
[`tidy/`]: https://github.com/rust-lang/rust/tree/master/src/tools/tidy
[`compiletest/`]: https://github.com/rust-lang/rust/tree/HEAD/src/tools/compiletest
[`src/bootstrap/`]: https://github.com/rust-lang/rust/tree/HEAD/src/bootstrap
[`src/tools/`]: https://github.com/rust-lang/rust/tree/HEAD/src/tools
[`tidy/`]: https://github.com/rust-lang/rust/tree/HEAD/src/tools/tidy
[bootstch]: ./building/bootstrapping/intro.md

## Standard library
Expand All @@ -213,6 +213,6 @@ These include:
- [`src/etc`]: Miscellaneous utilities.
- And more...

[`src/ci`]: https://github.com/rust-lang/rust/tree/master/src/ci
[`src/doc`]: https://github.com/rust-lang/rust/tree/master/src/doc
[`src/etc`]: https://github.com/rust-lang/rust/tree/master/src/etc
[`src/ci`]: https://github.com/rust-lang/rust/tree/HEAD/src/ci
[`src/doc`]: https://github.com/rust-lang/rust/tree/HEAD/src/doc
[`src/etc`]: https://github.com/rust-lang/rust/tree/HEAD/src/etc
2 changes: 1 addition & 1 deletion src/compiler-team.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ check out [triagebot.toml's assign section][map].
It contains a listing of the various parts of the compiler and a list of people
who are reviewers of each part.

[map]: https://github.com/rust-lang/rust/blob/master/triagebot.toml
[map]: https://github.com/rust-lang/rust/blob/HEAD/triagebot.toml

## Rust compiler meeting

Expand Down
6 changes: 3 additions & 3 deletions src/const-eval/interpret.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ the interpreter, but just use the cached result.
## Datastructures

The interpreter's outside-facing datastructures can be found in
[rustc_middle/src/mir/interpret](https://github.com/rust-lang/rust/blob/master/compiler/rustc_middle/src/mir/interpret).
[rustc_middle/src/mir/interpret](https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc_middle/src/mir/interpret).
This is mainly the error enum and the [`ConstValue`] and [`Scalar`] types. A
`ConstValue` can be either `Scalar` (a single `Scalar`, i.e., integer or thin
pointer), `Slice` (to represent byte slices and strings, as needed for pattern
Expand Down Expand Up @@ -217,7 +217,7 @@ function with no arguments, except that constants do not allow local (named)
variables at the time of writing this guide.

A stack frame is defined by the `Frame` type in
[rustc_const_eval/src/interpret/eval_context.rs](https://github.com/rust-lang/rust/blob/master/compiler/rustc_const_eval/src/interpret/eval_context.rs)
[rustc_const_eval/src/interpret/eval_context.rs](https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc_const_eval/src/interpret/eval_context.rs)
and contains all the local
variables memory (`None` at the start of evaluation). Each frame refers to the
evaluation of either the root constant or subsequent calls to `const fn`. The
Expand All @@ -229,7 +229,7 @@ The frames are just a `Vec<Frame>`, there's no way to actually refer to a
memory that can be referred to are `Allocation`s.

The interpreter now calls the `step` method (in
[rustc_const_eval/src/interpret/step.rs](https://github.com/rust-lang/rust/blob/master/compiler/rustc_const_eval/src/interpret/step.rs)
[rustc_const_eval/src/interpret/step.rs](https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc_const_eval/src/interpret/step.rs)
) until it either returns an error or has no further statements to execute. Each
statement will now initialize or modify the locals or the virtual memory
referred to by a local. This might require evaluating other constants or
Expand Down
6 changes: 3 additions & 3 deletions src/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ when contributing to Rust under [the git section](./git.md).
[about-pull-requests]: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests
[development-models]: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/getting-started/about-collaborative-development-models#fork-and-pull-model
[t-compiler]: https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler
[triagebot]: https://github.com/rust-lang/rust/blob/master/triagebot.toml
[triagebot]: https://github.com/rust-lang/rust/blob/HEAD/triagebot.toml

### Keeping your branch up-to-date

Expand Down Expand Up @@ -357,8 +357,8 @@ is located in [`src/doc`] in the tree, and standard API documentation is generat
from the source code itself (e.g. [`library/std/src/lib.rs`][std-root]). Documentation pull requests
function in the same way as other pull requests.

[`src/doc`]: https://github.com/rust-lang/rust/tree/master/src/doc
[std-root]: https://github.com/rust-lang/rust/blob/master/library/std/src/lib.rs#L1
[`src/doc`]: https://github.com/rust-lang/rust/tree/HEAD/src/doc
[std-root]: https://github.com/rust-lang/rust/blob/HEAD/library/std/src/lib.rs#L1

To find documentation-related issues, use the [A-docs label].

Expand Down
Loading
Loading