Skip to content

Commit b3b32b7

Browse files
committed
rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org
1 parent d00b269 commit b3b32b7

File tree

49 files changed

+66
-66
lines changed

Some content is hidden

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

49 files changed

+66
-66
lines changed

.github/ISSUE_TEMPLATE/tracking_issue.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ for larger features an implementation could be broken up into multiple PRs.
3939
- [ ] Adjust documentation ([see instructions on rustc-dev-guide][doc-guide])
4040
- [ ] Stabilization PR ([see instructions on rustc-dev-guide][stabilization-guide])
4141

42-
[stabilization-guide]: https://rust-lang.github.io/rustc-dev-guide/stabilization_guide.html#stabilization-pr
43-
[doc-guide]: https://rust-lang.github.io/rustc-dev-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

+5-5
Original file line numberDiff line numberDiff line change
@@ -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-dev-guide]: https://rust-lang.github.io/rustc-dev-guide/
33-
[walkthrough]: https://rust-lang.github.io/rustc-dev-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
@@ -108,7 +108,7 @@ 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-dev-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
@@ -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 dev guide]: https://rust-lang.github.io/rustc-dev-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-dev-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

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ 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`
2222
or reading the [rustc dev guide][rustcguidebuild].
2323

24-
[rustcguidebuild]: https://rust-lang.github.io/rustc-dev-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:
@@ -255,7 +255,7 @@ various parts of the compiler work.
255255
Also, you may find the [rustdocs for the compiler itself][rustdocs] useful.
256256
257257
[rust-discord]: https://discord.gg/rust-lang
258-
[rustc dev guide]: https://rust-lang.github.io/rustc-dev-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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ This directory contains the source code of the rust project, including:
55

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

8-
[rustc dev guide]: https://rust-lang.github.io/rustc-dev-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-dev-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

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ more, you'll want to check that out.
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_dev_guide]: https://rust-lang.github.io/rustc-dev-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

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

3-
[rustc dev guide]: https://rust-lang.github.io/rustc-dev-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 dev guide]: https://rust-lang.github.io/rustc-dev-guide/query.html
4+
[rustc dev guide]: https://rustc-dev-guide.rust-lang.org/query.html

src/librustc/dep_graph/graph.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ impl DepGraph {
194194
/// - If you need 3+ arguments, use a tuple for the
195195
/// `arg` parameter.
196196
///
197-
/// [rustc dev guide]: https://rust-lang.github.io/rustc-dev-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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! HIR datatypes. See the [rustc dev guide] for more info.
22
//!
3-
//! [rustc dev guide]: https://rust-lang.github.io/rustc-dev-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

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
//! For a more detailed look at what is happening here, check
2020
//! out the [chapter in the rustc dev guide][c].
2121
//!
22-
//! [c]: https://rust-lang.github.io/rustc-dev-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

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
//!
1717
//! For more information about how rustc works, see the [rustc dev guide].
1818
//!
19-
//! [rustc dev guide]: https://rust-lang.github.io/rustc-dev-guide/
19+
//! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/
2020
//!
2121
//! # Note
2222
//!

src/librustc/middle/region.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//! For more information about how MIR-based region-checking works,
55
//! see the [rustc dev guide].
66
//!
7-
//! [rustc dev guide]: https://rust-lang.github.io/rustc-dev-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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! MIR datatypes and passes. See the [rustc dev guide] for more info.
22
//!
3-
//! [rustc dev guide]: https://rust-lang.github.io/rustc-dev-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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Trait Resolution. See the [rustc dev guide] for more information on how this works.
22
//!
3-
//! [rustc dev guide]: https://rust-lang.github.io/rustc-dev-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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Candidate selection. See the [rustc dev guide] for more information on how this works.
22
//!
3-
//! [rustc dev guide]: https://rust-lang.github.io/rustc-dev-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

+1-1
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ pub struct FreeRegionInfo {
918918
/// various **compiler queries** that have been performed. See the
919919
/// [rustc dev guide] for more details.
920920
///
921-
/// [rustc dev guide]: https://rust-lang.github.io/rustc-dev-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

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

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

src/librustc/ty/sty.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,7 @@ pub type Region<'tcx> = &'tcx RegionKind;
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 dev guide]: https://rust-lang.github.io/rustc-dev-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

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ lexer, macro expander, and utilities for traversing ASTs.
55
For more information about how these things work in rustc, see the
66
rustc dev guide:
77

8-
- [Parsing](https://rust-lang.github.io/rustc-dev-guide/the-parser.html)
9-
- [Macro Expansion](https://rust-lang.github.io/rustc-dev-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

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ that runs towards the end of the compilation process.
44

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

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

src/librustc_codegen_ssa/README.md

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

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

src/librustc_driver/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ options).
77

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

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

src/librustc_hir/hir.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ pub struct ModuleItems {
611611
///
612612
/// For more details, see the [rustc dev guide].
613613
///
614-
/// [rustc dev guide]: https://rust-lang.github.io/rustc-dev-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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! HIR datatypes. See the [rustc dev guide] for more info.
22
//!
3-
//! [rustc dev guide]: https://rust-lang.github.io/rustc-dev-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 `&[]`
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
For info on how the incremental compilation works, see the [rustc dev guide].
22

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

src/librustc_infer/infer/canonical/canonicalizer.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//! For an overview of what canonicalization is and how it fits into
44
//! rustc, check out the [chapter in the rustc dev guide][c].
55
//!
6-
//! [c]: https://rust-lang.github.io/rustc-dev-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,
@@ -35,7 +35,7 @@ impl<'cx, 'tcx> InferCtxt<'cx, 'tcx> {
3535
/// To get a good understanding of what is happening here, check
3636
/// out the [chapter in the rustc dev guide][c].
3737
///
38-
/// [c]: https://rust-lang.github.io/rustc-dev-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,
@@ -79,7 +79,7 @@ impl<'cx, 'tcx> InferCtxt<'cx, 'tcx> {
7979
/// To get a good understanding of what is happening here, check
8080
/// out the [chapter in the rustc dev guide][c].
8181
///
82-
/// [c]: https://rust-lang.github.io/rustc-dev-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

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
//! For a more detailed look at what is happening here, check
2020
//! out the [chapter in the rustc dev guide][c].
2121
//!
22-
//! [c]: https://rust-lang.github.io/rustc-dev-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};

src/librustc_infer/infer/canonical/query_response.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//! For an overview of what canonicaliation is and how it fits into
66
//! rustc, check out the [chapter in the rustc dev guide][c].
77
//!
8-
//! [c]: https://rust-lang.github.io/rustc-dev-guide/traits/canonicalization.html
8+
//! [c]: https://rustc-dev-guide.rust-lang.org/traits/canonicalization.html
99
1010
use crate::infer::canonical::substitute::{substitute_value, CanonicalExt};
1111
use crate::infer::canonical::{
@@ -197,7 +197,7 @@ impl<'cx, 'tcx> InferCtxt<'cx, 'tcx> {
197197
/// To get a good understanding of what is happening here, check
198198
/// out the [chapter in the rustc dev guide][c].
199199
///
200-
/// [c]: https://rust-lang.github.io/rustc-dev-guide/traits/canonicalization.html#processing-the-canonicalized-query-result
200+
/// [c]: https://rustc-dev-guide.rust-lang.org/traits/canonicalization.html#processing-the-canonicalized-query-result
201201
pub fn instantiate_query_response_and_region_obligations<R>(
202202
&self,
203203
cause: &ObligationCause<'tcx>,

src/librustc_infer/infer/canonical/substitute.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//! For an overview of what canonicalization is and how it fits into
55
//! rustc, check out the [chapter in the rustc dev guide][c].
66
//!
7-
//! [c]: https://rust-lang.github.io/rustc-dev-guide/traits/canonicalization.html
7+
//! [c]: https://rustc-dev-guide.rust-lang.org/traits/canonicalization.html
88
99
use crate::infer::canonical::{Canonical, CanonicalVarValues};
1010
use rustc::ty::fold::TypeFoldable;

src/librustc_infer/infer/higher_ranked/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ solver, see [this chapter][oldhrtb] of the rustc-dev-guide.
44
To learn more about how they work in the _new_ trait solver, see [this
55
chapter][newhrtb].
66

7-
[oldhrtb]: https://rust-lang.github.io/rustc-dev-guide/traits/hrtb.html
8-
[newhrtb]: https://rust-lang.github.io/rustc-dev-guide/borrow_check/region_inference.html#placeholders-and-universes
7+
[oldhrtb]: https://rustc-dev-guide.rust-lang.org/traits/hrtb.html
8+
[newhrtb]: https://rustc-dev-guide.rust-lang.org/borrow_check/region_inference.html#placeholders-and-universes

src/librustc_infer/infer/higher_ranked/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
7373
/// For more information about how placeholders and HRTBs work, see
7474
/// the [rustc dev guide].
7575
///
76-
/// [rustc dev guide]: https://rust-lang.github.io/rustc-dev-guide/traits/hrtb.html
76+
/// [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/traits/hrtb.html
7777
pub fn replace_bound_vars_with_placeholders<T>(
7878
&self,
7979
binder: &ty::Binder<T>,

src/librustc_infer/infer/lexical_region_resolve/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ Lexical Region Resolution was removed in https://github.com/rust-lang/rust/pull/
44
Rust now uses Non-lexical lifetimes. For more info, please see the [borrowck
55
chapter][bc] in the rustc-dev-guide.
66

7-
[bc]: https://rust-lang.github.io/rustc-dev-guide/borrow_check/region_inference.html
7+
[bc]: https://rustc-dev-guide.rust-lang.org/borrow_check/region_inference.html
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
For info on how the current borrowck works, see the [rustc dev guide].
22

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

src/librustc_infer/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//!
88
//! For more information about how rustc works, see the [rustc dev guide].
99
//!
10-
//! [rustc dev guide]: https://rust-lang.github.io/rustc-dev-guide/
10+
//! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/
1111
//!
1212
//! # Note
1313
//!

src/librustc_infer/traits/coherence.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//! See Rustc Dev Guide chapters on [trait-resolution] and [trait-specialization] for more info on
22
//! how this works.
33
//!
4-
//! [trait-resolution]: https://rust-lang.github.io/rustc-dev-guide/traits/resolution.html
5-
//! [trait-specialization]: https://rust-lang.github.io/rustc-dev-guide/traits/specialization.html
4+
//! [trait-resolution]: https://rustc-dev-guide.rust-lang.org/traits/resolution.html
5+
//! [trait-specialization]: https://rustc-dev-guide.rust-lang.org/traits/specialization.html
66
77
use crate::infer::{CombinedSnapshot, InferOk, TyCtxtInferExt};
88
use crate::traits::select::IntercrateAmbiguityCause;

src/librustc_infer/traits/mod.rs

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

src/librustc_infer/traits/query/type_op/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub trait TypeOp<'tcx>: Sized + fmt::Debug {
4444
/// first canonicalize the key and then invoke the query on the tcx,
4545
/// which produces the resulting query region constraints.
4646
///
47-
/// [c]: https://rust-lang.github.io/rustc-dev-guide/traits/canonicalization.html
47+
/// [c]: https://rustc-dev-guide.rust-lang.org/traits/canonicalization.html
4848
pub trait QueryTypeOp<'tcx>: fmt::Debug + Sized + TypeFoldable<'tcx> + 'tcx {
4949
type QueryResponse: TypeFoldable<'tcx>;
5050

src/librustc_infer/traits/select.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
//! Candidate selection. See the [rustc dev guide] for more information on how this works.
44
//!
5-
//! [rustc dev guide]: https://rust-lang.github.io/rustc-dev-guide/traits/resolution.html#selection
5+
//! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/traits/resolution.html#selection
66
77
use self::EvaluationResult::*;
88
use self::SelectionCandidate::*;
@@ -934,7 +934,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
934934
// candidates. See the [rustc dev guide] for more details.
935935
//
936936
// [rustc dev guide]:
937-
// https://rust-lang.github.io/rustc-dev-guide/traits/resolution.html#candidate-assembly
937+
// https://rustc-dev-guide.rust-lang.org/traits/resolution.html#candidate-assembly
938938

939939
fn candidate_from_obligation<'o>(
940940
&mut self,
@@ -2450,7 +2450,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
24502450
// type error. See the [rustc dev guide] for more details.
24512451
//
24522452
// [rustc dev guide]:
2453-
// https://rust-lang.github.io/rustc-dev-guide/traits/resolution.html#confirmation
2453+
// https://rustc-dev-guide.rust-lang.org/traits/resolution.html#confirmation
24542454

24552455
fn confirm_candidate(
24562456
&mut self,

src/librustc_infer/traits/specialize/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//! See the [rustc dev guide] for a bit more detail on how specialization
88
//! fits together with the rest of the trait machinery.
99
//!
10-
//! [rustc dev guide]: https://rust-lang.github.io/rustc-dev-guide/traits/specialization.html
10+
//! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/traits/specialization.html
1111
1212
pub mod specialization_graph;
1313
use specialization_graph::GraphExt;

0 commit comments

Comments
 (0)