Skip to content

Commit 39c6405

Browse files
authored
Rollup merge of #69747 - spastorino:rename-rustc-guide, r=pietroalbini
Rename rustc guide This is in preparation for rust-lang/rustc-dev-guide#470 Needs to be merged after we actually rename the guide. Have used this to rename: `git grep -l 'rustc_guide' | xargs sed -i 's/rustc_guide/rustc_dev_guide/g'` `git grep -l 'rustc-guide' | xargs sed -i 's/rustc-guide/rustc-dev-guide/g'` `git grep -l 'rustc guide' | xargs sed -i 's/rustc guide/rustc dev guide/g'`
2 parents 4f7fc5a + b3b32b7 commit 39c6405

File tree

50 files changed

+129
-129
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+129
-129
lines changed

.github/ISSUE_TEMPLATE/tracking_issue.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ for larger features an implementation could be broken up into multiple PRs.
3636

3737
- [ ] Implement the RFC (cc @rust-lang/XXX -- can anyone write up mentoring
3838
instructions?)
39-
- [ ] Adjust documentation ([see instructions on rustc-guide][doc-guide])
40-
- [ ] Stabilization PR ([see instructions on rustc-guide][stabilization-guide])
39+
- [ ] Adjust documentation ([see instructions on rustc-dev-guide][doc-guide])
40+
- [ ] Stabilization PR ([see instructions on rustc-dev-guide][stabilization-guide])
4141

42-
[stabilization-guide]: https://rust-lang.github.io/rustc-guide/stabilization_guide.html#stabilization-pr
43-
[doc-guide]: https://rust-lang.github.io/rustc-guide/stabilization_guide.html#documentation-prs
42+
[stabilization-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#stabilization-pr
43+
[doc-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#documentation-prs
4444

4545
### Unresolved Questions
4646
<!--

CONTRIBUTING.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ hop on the [Rust Discord server][rust-discord] or [Rust Zulip server][rust-zulip
1919

2020
As a reminder, all contributors are expected to follow our [Code of Conduct][coc].
2121

22-
The [rustc-guide] is your friend! It describes how the compiler works and how
22+
The [rustc-dev-guide] is your friend! It describes how the compiler works and how
2323
to contribute to it in more detail than this document.
2424

2525
If this is your first time contributing, the [walkthrough] chapter of the guide
@@ -29,8 +29,8 @@ can give you a good example of how a typical contribution would go.
2929
[rust-discord]: http://discord.gg/rust-lang
3030
[rust-zulip]: https://rust-lang.zulipchat.com
3131
[coc]: https://www.rust-lang.org/conduct.html
32-
[rustc-guide]: https://rust-lang.github.io/rustc-guide/
33-
[walkthrough]: https://rust-lang.github.io/rustc-guide/walkthrough.html
32+
[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/
33+
[walkthrough]: https://rustc-dev-guide.rust-lang.org/walkthrough.html
3434

3535
## Feature Requests
3636
[feature-requests]: #feature-requests
@@ -103,12 +103,12 @@ $ RUST_BACKTRACE=1 rustc ...
103103
## The Build System
104104

105105
For info on how to configure and build the compiler, please see [this
106-
chapter][rustcguidebuild] of the rustc-guide. This chapter contains info for
106+
chapter][rustcguidebuild] of the rustc-dev-guide. This chapter contains info for
107107
contributions to the compiler and the standard library. It also lists some
108108
really useful commands to the build system (`./x.py`), which could save you a
109109
lot of time.
110110

111-
[rustcguidebuild]: https://rust-lang.github.io/rustc-guide/building/how-to-build-and-run.html
111+
[rustcguidebuild]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html
112112

113113
## Pull Requests
114114
[pull-requests]: #pull-requests
@@ -336,9 +336,9 @@ to check small fixes. For example, `rustdoc src/doc/reference.md` will render
336336
reference to `doc/reference.html`. The CSS might be messed up, but you can
337337
verify that the HTML is right.
338338

339-
Additionally, contributions to the [rustc-guide] are always welcome. Contributions
339+
Additionally, contributions to the [rustc-dev-guide] are always welcome. Contributions
340340
can be made directly at [the
341-
rust-lang/rustc-guide](https://github.com/rust-lang/rustc-guide) repo. The issue
341+
rust-lang/rustc-dev-guide](https://github.com/rust-lang/rustc-dev-guide) repo. The issue
342342
tracker in that repo is also a great way to find things that need doing. There
343343
are issues for beginners and advanced compiler devs alike!
344344

@@ -434,7 +434,7 @@ For people new to Rust, and just starting to contribute, or even for
434434
more seasoned developers, some useful places to look for information
435435
are:
436436

437-
* The [rustc guide] contains information about how various parts of the compiler work and how to contribute to the compiler
437+
* The [rustc dev guide] contains information about how various parts of the compiler work and how to contribute to the compiler
438438
* [Rust Forge][rustforge] contains additional documentation, including write-ups of how to achieve common tasks
439439
* The [Rust Internals forum][rif], a place to ask questions and
440440
discuss Rust's internals
@@ -448,13 +448,13 @@ are:
448448
* **Google!** ([search only in Rust Documentation][gsearchdocs] to find types, traits, etc. quickly)
449449
* Don't be afraid to ask! The Rust community is friendly and helpful.
450450

451-
[rustc guide]: https://rust-lang.github.io/rustc-guide/about-this-guide.html
451+
[rustc dev guide]: https://rustc-dev-guide.rust-lang.org/about-this-guide.html
452452
[gdfrustc]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/
453453
[gsearchdocs]: https://www.google.com/search?q=site:doc.rust-lang.org+your+query+here
454454
[rif]: http://internals.rust-lang.org
455455
[rr]: https://doc.rust-lang.org/book/README.html
456456
[rustforge]: https://forge.rust-lang.org/
457457
[tlgba]: http://tomlee.co/2014/04/a-more-detailed-tour-of-the-rust-compiler/
458458
[ro]: http://www.rustaceans.org/
459-
[rctd]: https://rust-lang.github.io/rustc-guide/tests/intro.html
459+
[rctd]: https://rustc-dev-guide.rust-lang.org/tests/intro.html
460460
[cheatsheet]: https://buildbot2.rust-lang.org/homu/

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ Read ["Installation"] from [The Book].
1515
## Installing from Source
1616

1717
_Note: If you wish to contribute to the compiler, you should read [this
18-
chapter][rustcguidebuild] of the rustc-guide instead of this section._
18+
chapter][rustcguidebuild] of the rustc-dev-guide instead of this section._
1919

2020
The Rust build system has a Python script called `x.py` to bootstrap building
2121
the compiler. More information about it may be found by running `./x.py --help`
22-
or reading the [rustc guide][rustcguidebuild].
22+
or reading the [rustc dev guide][rustcguidebuild].
2323

24-
[rustcguidebuild]: https://rust-lang.github.io/rustc-guide/building/how-to-build-and-run.html
24+
[rustcguidebuild]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html
2525

2626
### Building on *nix
2727
1. Make sure you have installed the dependencies:
@@ -249,13 +249,13 @@ Most real-time collaboration happens in a variety of channels on the
249249
community, documentation, and all major contribution areas in the Rust ecosystem.
250250
A good place to ask for help would be the #help channel.
251251
252-
The [rustc guide] might be a good place to start if you want to find out how
252+
The [rustc dev guide] might be a good place to start if you want to find out how
253253
various parts of the compiler work.
254254
255255
Also, you may find the [rustdocs for the compiler itself][rustdocs] useful.
256256
257257
[rust-discord]: https://discord.gg/rust-lang
258-
[rustc guide]: https://rust-lang.github.io/rustc-guide/about-this-guide.html
258+
[rustc dev guide]: https://rustc-dev-guide.rust-lang.org/about-this-guide.html
259259
[rustdocs]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/
260260
261261
## License

src/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ This directory contains the source code of the rust project, including:
33
- `libstd`
44
- Various submodules for tools, like rustdoc, rls, etc.
55

6-
For more information on how various parts of the compiler work, see the [rustc guide].
6+
For more information on how various parts of the compiler work, see the [rustc dev guide].
77

8-
[rustc guide]: https://rust-lang.github.io/rustc-guide/about-this-guide.html
8+
[rustc dev guide]: https://rustc-dev-guide.rust-lang.org/about-this-guide.html

src/doc/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Rust. It's also sometimes called "the 'nomicon."
120120

121121
## The `rustc` Contribution Guide
122122

123-
[The `rustc` Guide](https://rust-lang.github.io/rustc-guide/) documents how
123+
[The `rustc` Guide](https://rustc-dev-guide.rust-lang.org/) documents how
124124
the compiler works and how to contribute to it. This is useful if you want to build
125125
or modify the Rust compiler from source (e.g. to target something non-standard).
126126

src/doc/rustc/src/contributing.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Contributing to rustc
22

33
We'd love to have your help improving `rustc`! To that end, we've written [a
4-
whole book][rustc_guide] on its
4+
whole book][rustc_dev_guide] on its
55
internals, how it works, and how to get started working on it. To learn
66
more, you'll want to check that out.
77

88
If you would like to contribute to _this_ book, you can find its source in the
99
rustc source at [src/doc/rustc][rustc_book].
1010

11-
[rustc_guide]: https://rust-lang.github.io/rustc-guide/
11+
[rustc_dev_guide]: https://rustc-dev-guide.rust-lang.org/
1212
[rustc_book]: https://github.com/rust-lang/rust/tree/master/src/doc/rustc

src/librustc/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
For more information about how rustc works, see the [rustc guide].
1+
For more information about how rustc works, see the [rustc dev guide].
22

3-
[rustc guide]: https://rust-lang.github.io/rustc-guide/
3+
[rustc dev guide]: https://rustc-dev-guide.rust-lang.org/

src/librustc/dep_graph/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
To learn more about how dependency tracking works in rustc, see the [rustc
22
guide].
33

4-
[rustc guide]: https://rust-lang.github.io/rustc-guide/query.html
4+
[rustc dev guide]: https://rustc-dev-guide.rust-lang.org/query.html

src/librustc/dep_graph/graph.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ impl DepGraph {
174174
/// what state they have access to. In particular, we want to
175175
/// prevent implicit 'leaks' of tracked state into the task (which
176176
/// could then be read without generating correct edges in the
177-
/// dep-graph -- see the [rustc guide] for more details on
177+
/// dep-graph -- see the [rustc dev guide] for more details on
178178
/// the dep-graph). To this end, the task function gets exactly two
179179
/// pieces of state: the context `cx` and an argument `arg`. Both
180180
/// of these bits of state must be of some type that implements
@@ -194,7 +194,7 @@ impl DepGraph {
194194
/// - If you need 3+ arguments, use a tuple for the
195195
/// `arg` parameter.
196196
///
197-
/// [rustc guide]: https://rust-lang.github.io/rustc-guide/incremental-compilation.html
197+
/// [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/incremental-compilation.html
198198
pub fn with_task<'a, C, A, R>(
199199
&self,
200200
key: DepNode,

src/librustc/hir/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
//! HIR datatypes. See the [rustc guide] for more info.
1+
//! HIR datatypes. See the [rustc dev guide] for more info.
22
//!
3-
//! [rustc guide]: https://rust-lang.github.io/rustc-guide/hir.html
3+
//! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/hir.html
44
55
pub mod exports;
66
pub mod map;

src/librustc/infer/canonical.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
//! `instantiate_query_result` method.
1818
//!
1919
//! For a more detailed look at what is happening here, check
20-
//! out the [chapter in the rustc guide][c].
20+
//! out the [chapter in the rustc dev guide][c].
2121
//!
22-
//! [c]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html
22+
//! [c]: https://rustc-dev-guide.rust-lang.org/traits/canonicalization.html
2323
2424
use crate::infer::MemberConstraint;
2525
use crate::ty::subst::GenericArg;

src/librustc/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
//! (or `tcx`), which is the central context during most of
1515
//! compilation, containing the interners and other things.
1616
//!
17-
//! For more information about how rustc works, see the [rustc guide].
17+
//! For more information about how rustc works, see the [rustc dev guide].
1818
//!
19-
//! [rustc guide]: https://rust-lang.github.io/rustc-guide/
19+
//! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/
2020
//!
2121
//! # Note
2222
//!

src/librustc/middle/region.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
//! the parent links in the region hierarchy.
33
//!
44
//! For more information about how MIR-based region-checking works,
5-
//! see the [rustc guide].
5+
//! see the [rustc dev guide].
66
//!
7-
//! [rustc guide]: https://rust-lang.github.io/rustc-guide/mir/borrowck.html
7+
//! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/mir/borrowck.html
88
99
use crate::ich::{NodeIdHashingMode, StableHashingContext};
1010
use crate::ty::{self, DefIdTree, TyCtxt};

src/librustc/mir/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
//! MIR datatypes and passes. See the [rustc guide] for more info.
1+
//! MIR datatypes and passes. See the [rustc dev guide] for more info.
22
//!
3-
//! [rustc guide]: https://rust-lang.github.io/rustc-guide/mir/index.html
3+
//! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/mir/index.html
44
55
use crate::mir::interpret::{GlobalAlloc, Scalar};
66
use crate::mir::visit::MirVisitable;

src/librustc/traits/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
//! Trait Resolution. See the [rustc guide] for more information on how this works.
1+
//! Trait Resolution. See the [rustc dev guide] for more information on how this works.
22
//!
3-
//! [rustc guide]: https://rust-lang.github.io/rustc-guide/traits/resolution.html
3+
//! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/traits/resolution.html
44
55
pub mod query;
66
pub mod select;

src/librustc/traits/select.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
//! Candidate selection. See the [rustc guide] for more information on how this works.
1+
//! Candidate selection. See the [rustc dev guide] for more information on how this works.
22
//!
3-
//! [rustc guide]: https://rust-lang.github.io/rustc-guide/traits/resolution.html#selection
3+
//! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/traits/resolution.html#selection
44
55
use self::EvaluationResult::*;
66

src/librustc/ty/context.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -916,9 +916,9 @@ pub struct FreeRegionInfo {
916916
/// The central data structure of the compiler. It stores references
917917
/// to the various **arenas** and also houses the results of the
918918
/// various **compiler queries** that have been performed. See the
919-
/// [rustc guide] for more details.
919+
/// [rustc dev guide] for more details.
920920
///
921-
/// [rustc guide]: https://rust-lang.github.io/rustc-guide/ty.html
921+
/// [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/ty.html
922922
#[derive(Copy, Clone)]
923923
#[rustc_diagnostic_item = "TyCtxt"]
924924
pub struct TyCtxt<'tcx> {

src/librustc/ty/query/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
For more information about how the query system works, see the [rustc guide].
1+
For more information about how the query system works, see the [rustc dev guide].
22

3-
[rustc guide]: https://rust-lang.github.io/rustc-guide/query.html
3+
[rustc dev guide]: https://rustc-dev-guide.rust-lang.org/query.html

src/librustc/ty/sty.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1396,11 +1396,11 @@ pub type Region<'tcx> = &'tcx RegionKind;
13961396
/// the inference variable is supposed to satisfy the relation
13971397
/// *for every value of the placeholder region*. To ensure that doesn't
13981398
/// happen, you can use `leak_check`. This is more clearly explained
1399-
/// by the [rustc guide].
1399+
/// by the [rustc dev guide].
14001400
///
14011401
/// [1]: http://smallcultfollowing.com/babysteps/blog/2013/10/29/intermingled-parameter-lists/
14021402
/// [2]: http://smallcultfollowing.com/babysteps/blog/2013/11/04/intermingled-parameter-lists/
1403-
/// [rustc guide]: https://rust-lang.github.io/rustc-guide/traits/hrtb.html
1403+
/// [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/traits/hrtb.html
14041404
#[derive(Clone, PartialEq, Eq, Hash, Copy, RustcEncodable, RustcDecodable, PartialOrd, Ord)]
14051405
pub enum RegionKind {
14061406
/// Region bound in a type or fn declaration which will be

src/librustc_ast/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ The `rustc_ast` crate contains those things concerned purely with syntax
33
lexer, macro expander, and utilities for traversing ASTs.
44

55
For more information about how these things work in rustc, see the
6-
rustc guide:
6+
rustc dev guide:
77

8-
- [Parsing](https://rust-lang.github.io/rustc-guide/the-parser.html)
9-
- [Macro Expansion](https://rust-lang.github.io/rustc-guide/macro-expansion.html)
8+
- [Parsing](https://rustc-dev-guide.rust-lang.org/the-parser.html)
9+
- [Macro Expansion](https://rustc-dev-guide.rust-lang.org/macro-expansion.html)

src/librustc_codegen_llvm/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ The `codegen` crate contains the code to convert from MIR into LLVM IR,
22
and then from LLVM IR into machine code. In general it contains code
33
that runs towards the end of the compilation process.
44

5-
For more information about how codegen works, see the [rustc guide].
5+
For more information about how codegen works, see the [rustc dev guide].
66

7-
[rustc guide]: https://rust-lang.github.io/rustc-guide/codegen.html
7+
[rustc dev guide]: https://rustc-dev-guide.rust-lang.org/codegen.html

src/librustc_codegen_ssa/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Please read the rustc-guide chapter on [Backend Agnostic Codegen][bac].
1+
Please read the rustc-dev-guide chapter on [Backend Agnostic Codegen][bac].
22

3-
[bac]: https://rust-lang.github.io/rustc-guide/codegen/backend-agnostic.html
3+
[bac]: https://rustc-dev-guide.rust-lang.org/codegen/backend-agnostic.html

src/librustc_driver/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ not contain any of the "main logic" of the compiler (though it does
55
have some code related to pretty printing or other minor compiler
66
options).
77

8-
For more information about how the driver works, see the [rustc guide].
8+
For more information about how the driver works, see the [rustc dev guide].
99

10-
[rustc guide]: https://rust-lang.github.io/rustc-guide/rustc-driver.html
10+
[rustc dev guide]: https://rustc-dev-guide.rust-lang.org/rustc-driver.html

src/librustc_hir/hir.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -609,9 +609,9 @@ pub struct ModuleItems {
609609
/// The top-level data structure that stores the entire contents of
610610
/// the crate currently being compiled.
611611
///
612-
/// For more details, see the [rustc guide].
612+
/// For more details, see the [rustc dev guide].
613613
///
614-
/// [rustc guide]: https://rust-lang.github.io/rustc-guide/hir.html
614+
/// [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/hir.html
615615
#[derive(RustcEncodable, RustcDecodable, Debug)]
616616
pub struct Crate<'hir> {
617617
pub module: Mod<'hir>,

src/librustc_hir/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
//! HIR datatypes. See the [rustc guide] for more info.
1+
//! HIR datatypes. See the [rustc dev guide] for more info.
22
//!
3-
//! [rustc guide]: https://rust-lang.github.io/rustc-guide/hir.html
3+
//! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/hir.html
44
55
#![feature(crate_visibility_modifier)]
66
#![feature(const_fn)] // For the unsizing cast on `&[]`
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
For info on how the incremental compilation works, see the [rustc guide].
1+
For info on how the incremental compilation works, see the [rustc dev guide].
22

3-
[rustc guide]: https://rust-lang.github.io/rustc-guide/query.html
3+
[rustc dev guide]: https://rustc-dev-guide.rust-lang.org/query.html

src/librustc_infer/infer/canonical/canonicalizer.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
//! This module contains the "canonicalizer" itself.
22
//!
33
//! For an overview of what canonicalization is and how it fits into
4-
//! rustc, check out the [chapter in the rustc guide][c].
4+
//! rustc, check out the [chapter in the rustc dev guide][c].
55
//!
6-
//! [c]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html
6+
//! [c]: https://rustc-dev-guide.rust-lang.org/traits/canonicalization.html
77
88
use crate::infer::canonical::{
99
Canonical, CanonicalTyVarKind, CanonicalVarInfo, CanonicalVarKind, Canonicalized,
@@ -33,9 +33,9 @@ impl<'cx, 'tcx> InferCtxt<'cx, 'tcx> {
3333
/// with a mapping M that maps `'?0` to `'static`.
3434
///
3535
/// To get a good understanding of what is happening here, check
36-
/// out the [chapter in the rustc guide][c].
36+
/// out the [chapter in the rustc dev guide][c].
3737
///
38-
/// [c]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html#canonicalizing-the-query
38+
/// [c]: https://rustc-dev-guide.rust-lang.org/traits/canonicalization.html#canonicalizing-the-query
3939
pub fn canonicalize_query<V>(
4040
&self,
4141
value: &V,
@@ -77,9 +77,9 @@ impl<'cx, 'tcx> InferCtxt<'cx, 'tcx> {
7777
/// reference to `'static` alone.
7878
///
7979
/// To get a good understanding of what is happening here, check
80-
/// out the [chapter in the rustc guide][c].
80+
/// out the [chapter in the rustc dev guide][c].
8181
///
82-
/// [c]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html#canonicalizing-the-query-result
82+
/// [c]: https://rustc-dev-guide.rust-lang.org/traits/canonicalization.html#canonicalizing-the-query-result
8383
pub fn canonicalize_response<V>(&self, value: &V) -> Canonicalized<'tcx, V>
8484
where
8585
V: TypeFoldable<'tcx>,

src/librustc_infer/infer/canonical/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
//! `instantiate_query_result` method.
1818
//!
1919
//! For a more detailed look at what is happening here, check
20-
//! out the [chapter in the rustc guide][c].
20+
//! out the [chapter in the rustc dev guide][c].
2121
//!
22-
//! [c]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html
22+
//! [c]: https://rustc-dev-guide.rust-lang.org/traits/canonicalization.html
2323
2424
use crate::infer::{ConstVariableOrigin, ConstVariableOriginKind};
2525
use crate::infer::{InferCtxt, RegionVariableOrigin, TypeVariableOrigin, TypeVariableOriginKind};

0 commit comments

Comments
 (0)