Skip to content

Commit 0037f4e

Browse files
committed
Rename rustc-guide to rustc-dev-guide
1 parent 1e17969 commit 0037f4e

File tree

49 files changed

+76
-76
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

+76
-76
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://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
4444

4545
### Unresolved Questions
4646
<!--

CONTRIBUTING.md

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

@@ -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 guide]: https://rust-lang.github.io/rustc-dev-guide/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://rust-lang.github.io/rustc-dev-guide/tests/intro.html
460460
[cheatsheet]: https://buildbot2.rust-lang.org/homu/

README.md

+3-3
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`
2222
or reading the [rustc guide][rustcguidebuild].
2323

24-
[rustcguidebuild]: https://rust-lang.github.io/rustc-guide/building/how-to-build-and-run.html
24+
[rustcguidebuild]: https://rust-lang.github.io/rustc-dev-guide/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 guide]: https://rust-lang.github.io/rustc-guide/about-this-guide.html
258+
[rustc guide]: https://rust-lang.github.io/rustc-dev-guide/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 guide].
77

8-
[rustc guide]: https://rust-lang.github.io/rustc-guide/about-this-guide.html
8+
[rustc guide]: https://rust-lang.github.io/rustc-dev-guide/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://rust-lang.github.io/rustc-dev-guide/) 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_guide]: https://rust-lang.github.io/rustc-guide/
11+
[rustc_guide]: https://rust-lang.github.io/rustc-dev-guide/
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 guide].
22

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

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 guide]: https://rust-lang.github.io/rustc-dev-guide/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 guide]: https://rust-lang.github.io/rustc-guide/incremental-compilation.html
197+
/// [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/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 guide] for more info.
22
//!
3-
//! [rustc guide]: https://rust-lang.github.io/rustc-guide/hir.html
3+
//! [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/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 guide][c].
2121
//!
22-
//! [c]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html
22+
//! [c]: https://rust-lang.github.io/rustc-dev-guide/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 guide].
1818
//!
19-
//! [rustc guide]: https://rust-lang.github.io/rustc-guide/
19+
//! [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/
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 guide].
66
//!
7-
//! [rustc guide]: https://rust-lang.github.io/rustc-guide/mir/borrowck.html
7+
//! [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/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 guide] for more info.
22
//!
3-
//! [rustc guide]: https://rust-lang.github.io/rustc-guide/mir/index.html
3+
//! [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/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 guide] for more information on how this works.
22
//!
3-
//! [rustc guide]: https://rust-lang.github.io/rustc-guide/traits/resolution.html
3+
//! [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/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 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 guide]: https://rust-lang.github.io/rustc-dev-guide/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 guide] for more details.
920920
///
921-
/// [rustc guide]: https://rust-lang.github.io/rustc-guide/ty.html
921+
/// [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/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 guide].
22

3-
[rustc guide]: https://rust-lang.github.io/rustc-guide/query.html
3+
[rustc guide]: https://rust-lang.github.io/rustc-dev-guide/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 guide]: https://rust-lang.github.io/rustc-guide/traits/hrtb.html
1403+
/// [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/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 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://rust-lang.github.io/rustc-dev-guide/the-parser.html)
9+
- [Macro Expansion](https://rust-lang.github.io/rustc-dev-guide/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 guide].
66

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

10-
[rustc guide]: https://rust-lang.github.io/rustc-guide/rustc-driver.html
10+
[rustc guide]: https://rust-lang.github.io/rustc-dev-guide/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 guide].
613613
///
614-
/// [rustc guide]: https://rust-lang.github.io/rustc-guide/hir.html
614+
/// [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/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 guide] for more info.
22
//!
3-
//! [rustc guide]: https://rust-lang.github.io/rustc-guide/hir.html
3+
//! [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/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 guide].
22

3-
[rustc guide]: https://rust-lang.github.io/rustc-guide/query.html
3+
[rustc guide]: https://rust-lang.github.io/rustc-dev-guide/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 guide][c].
55
//!
6-
//! [c]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html
6+
//! [c]: https://rust-lang.github.io/rustc-dev-guide/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 guide][c].
3737
///
38-
/// [c]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html#canonicalizing-the-query
38+
/// [c]: https://rust-lang.github.io/rustc-dev-guide/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 guide][c].
8181
///
82-
/// [c]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html#canonicalizing-the-query-result
82+
/// [c]: https://rust-lang.github.io/rustc-dev-guide/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 guide][c].
2121
//!
22-
//! [c]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html
22+
//! [c]: https://rust-lang.github.io/rustc-dev-guide/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 guide][c].
77
//!
8-
//! [c]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html
8+
//! [c]: https://rust-lang.github.io/rustc-dev-guide/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 guide][c].
199199
///
200-
/// [c]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html#processing-the-canonicalized-query-result
200+
/// [c]: https://rust-lang.github.io/rustc-dev-guide/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 guide][c].
66
//!
7-
//! [c]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html
7+
//! [c]: https://rust-lang.github.io/rustc-dev-guide/traits/canonicalization.html
88
99
use crate::infer::canonical::{Canonical, CanonicalVarValues};
1010
use rustc::ty::fold::TypeFoldable;
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
To learn more about how Higher-ranked trait bounds work in the _old_ trait
2-
solver, see [this chapter][oldhrtb] of the rustc-guide.
2+
solver, see [this chapter][oldhrtb] of the rustc-dev-guide.
33

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-guide/traits/hrtb.html
8-
[newhrtb]: https://rust-lang.github.io/rustc-guide/borrow_check/region_inference.html#placeholders-and-universes
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

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 guide].
7575
///
76-
/// [rustc guide]: https://rust-lang.github.io/rustc-guide/traits/hrtb.html
76+
/// [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/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

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
Lexical Region Resolution was removed in https://github.com/rust-lang/rust/pull/64790.
33

44
Rust now uses Non-lexical lifetimes. For more info, please see the [borrowck
5-
chapter][bc] in the rustc-guide.
5+
chapter][bc] in the rustc-dev-guide.
66

7-
[bc]: https://rust-lang.github.io/rustc-guide/borrow_check/region_inference.html
7+
[bc]: https://rust-lang.github.io/rustc-dev-guide/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 guide].
22

3-
[rustc guide]: https://rust-lang.github.io/rustc-guide/borrow_check.html
3+
[rustc guide]: https://rust-lang.github.io/rustc-dev-guide/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 guide].
99
//!
10-
//! [rustc guide]: https://rust-lang.github.io/rustc-guide/
10+
//! [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/
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 Guide chapters on [trait-resolution] and [trait-specialization] for more info on how
22
//! this works.
33
//!
4-
//! [trait-resolution]: https://rust-lang.github.io/rustc-guide/traits/resolution.html
5-
//! [trait-specialization]: https://rust-lang.github.io/rustc-guide/traits/specialization.html
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
66
77
use crate::infer::{CombinedSnapshot, InferOk, TyCtxtInferExt};
88
use crate::traits::select::IntercrateAmbiguityCause;

0 commit comments

Comments
 (0)