Skip to content

Commit 981a3cc

Browse files
Update rustc-guide to rustc-dev-guide (#344)
* update rustc-guide to rustc-dev-guide rust-lang/rustc-dev-guide#602
1 parent d6fd9ef commit 981a3cc

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ machinery inside of chalk.
8989
In addition to the blog posts there is a [glossary](GLOSSARY.md) explaining some
9090
of the terminology used in chalk.
9191

92-
### Trait solving in rustc guide
93-
The rustc guide describes [new-style trait solving][trait-solving], which is slowly replacing the old trait resolution.
92+
### Trait solving in rustc-dev-guide
93+
The rustc-dev-guide describes [new-style trait solving][trait-solving], which is slowly replacing the old trait resolution.
9494

95-
[trait-solving]: https://rust-lang.github.io/rustc-guide/traits/index.html
95+
[trait-solving]: https://rustc-dev-guide.rust-lang.org/traits/index.html

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ the compiler, but also for experimentation.
77

88
## FAQ
99

10-
**How does chalk relate to rustc?** The plan is to have rustc use the `chalk-engine` crate (in this repo), which defines chalk's solver. The rest of chalk can then be considered an elaborate unit testing harness. For more details, see [the Traits chapter of the rustc-guide](https://rust-lang.github.io/rustc-guide/traits/index.html).
10+
**How does chalk relate to rustc?** The plan is to have rustc use the `chalk-engine` crate (in this repo), which defines chalk's solver. The rest of chalk can then be considered an elaborate unit testing harness. For more details, see [the Traits chapter of the rustc-dev-guide](https://rustc-dev-guide.rust-lang.org/traits/index.html).
1111

1212
**Where does the name come from?** `chalk` is named after [Chalkidiki], the area where [Aristotle] was
1313
born. Since Prolog is a logic programming language, this seemed a

chalk-engine/src/context.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ pub trait Context: Clone + Debug {
4444

4545
/// A canonicalized `GoalInEnvironment` -- that is, one where all
4646
/// free inference variables have been bound into the canonical
47-
/// binder. See [the rustc-guide] for more information.
47+
/// binder. See [the rustc-dev-guide] for more information.
4848
///
49-
/// [the rustc-guide]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html
49+
/// [the rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/traits/canonicalization.html
5050
type CanonicalGoalInEnvironment: Debug;
5151

5252
/// A u-canonicalized `GoalInEnvironment` -- this is one where the

chalk-engine/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//! An alternative solver based around the SLG algorithm, which
22
//! implements the well-formed semantics. For an overview of how the solver
3-
//! works, see [The On-Demand SLG Solver][guide] in the rustc guide.
3+
//! works, see [The On-Demand SLG Solver][guide] in the rustc-dev-guide.
44
//!
5-
//! [guide]: https://rust-lang.github.io/rustc-guide/traits/slg.html
5+
//! [guide]: https://rustc-dev-guide.rust-lang.org/traits/slg.html
66
//!
77
//! This algorithm is very closed based on the description found in the
88
//! following paper, which I will refer to in the comments as EWFS:

chalk-ir/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ pub enum TypeName<I: Interner> {
111111
/// `forall<T> { Goal(T) }` (syntactical representation)
112112
/// `forall { Goal(?0) }` (used a DeBruijn index)
113113
/// `Goal(!U1)` (the quantifier was moved to the environment and replaced with a universe index)
114-
/// See https://rust-lang.github.io/rustc-guide/borrow_check/region_inference.html#placeholders-and-universes for more.
114+
/// See https://rustc-dev-guide.rust-lang.org/borrow_check/region_inference.html#placeholders-and-universes for more.
115115
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
116116
pub struct UniverseIndex {
117117
pub counter: usize,

0 commit comments

Comments
 (0)