Skip to content

Fix some more links #1260

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 2 additions & 3 deletions src/backend/libs-and-metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,11 @@ The hash includes a variety of elements:
Disambiguator](#crate-disambiguator), and all CLI options marked with
`[TRACKED]`).

See [`finalize_and_compute_crate_hash`] for where the hash is actually
computed.
See [`compute_hir_hash`] for where the hash is actually computed.

[SVH]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_data_structures/svh/struct.Svh.html
[incremental compilation]: ../queries/incremental-compilation.md
[`finalize_and_compute_crate_hash`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/hir/map/collector/struct.NodeCollector.html#method.finalize_and_compute_crate_hash
[`compute_hir_hash`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast_lowering/struct.LoweringContext.html#method.compute_hir_hash

### Stable Crate Id

Expand Down
2 changes: 1 addition & 1 deletion src/building/bootstrapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ because one must first build the new compiler with an older compiler
and then use that to build the new compiler with itself.
For development, you usually only want the `stage1` compiler,
which you can build with `./x.py build library/std`.
See [Building the Compiler](/building/how-to-build-and-run.html#building-the-compiler).
See [Building the Compiler](./how-to-build-and-run.html#building-the-compiler).
Copy link
Member

Choose a reason for hiding this comment

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

Pre-existing, but while you're at it:

Suggested change
See [Building the Compiler](./how-to-build-and-run.html#building-the-compiler).
See [Building the Compiler](./how-to-build-and-run.md#building-the-compiler).


### Stage 3

Expand Down
2 changes: 1 addition & 1 deletion src/constants.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ why the array length in `foo<const N: usize>() -> [u8; N + 1]` can use `N`.

Without any manual adjustments, this causes us to include parameters even if
the constant doesn't use them in any way. This can cause
[some interesting errors](pcg-unused-substs) and breaks some already stable code.
[some interesting errors][pcg-unused-substs] and breaks some already stable code.

To deal with this, we intend to look at the generic parameters explicitly mentioned
by the constants and then search the predicates of its parents to figure out which
Expand Down