@@ -41,7 +41,7 @@ In terms of code, these types are defined in
41
41
[ ` librustc_middle/traits/mod.rs ` ] [ traits_mod ] in rustc, and in
42
42
[ ` chalk-ir/src/lib.rs ` ] [ chalk_ir ] in chalk.
43
43
44
- [ pphhf ] : . /bibliography.html#pphhf
44
+ [ pphhf ] : https://rust-lang.github.io/chalk/book /bibliography.html#pphhf
45
45
[ traits_mod ] : https://github.com/rust-lang/rust/blob/master/src/librustc_middle/traits/mod.rs
46
46
[ chalk_ir ] : https://github.com/rust-lang/chalk/blob/master/chalk-ir/src/lib.rs
47
47
@@ -118,20 +118,20 @@ e.g. `ProjectionEq<T as Iterator>::Item = u8`
118
118
119
119
The given associated type ` Projection ` is equal to ` Type ` ; this can be proved
120
120
with either normalization or using placeholder associated types. See
121
- [ the section on associated types] ( ./associated-types.html ) .
121
+ [ the section on associated types in Chalk Book ] [ at ] .
122
122
123
123
#### Normalize(Projection -> Type)
124
124
e.g. ` ProjectionEq<T as Iterator>::Item -> u8 `
125
125
126
126
The given associated type ` Projection ` can be [ normalized] [ n ] to ` Type ` .
127
127
128
128
As discussed in [ the section on associated
129
- types] ( ./associated-types.html ) , ` Normalize ` implies ` ProjectionEq ` ,
129
+ types in Chalk Book ] [ at ] , ` Normalize ` implies ` ProjectionEq ` ,
130
130
but not vice versa. In general, proving ` Normalize(<T as Trait>::Item -> U) `
131
131
also requires proving ` Implemented(T: Trait) ` .
132
132
133
- [ n ] : ./associated-types .html#normalize
134
- [ at ] : ./associated-types .html
133
+ [ n ] : https://rust-lang.github.io/chalk/book/clauses/type_equality .html#normalize
134
+ [ at ] : https://rust-lang.github.io/chalk/book/clauses/type_equality .html
135
135
136
136
#### FromEnv(TraitRef)
137
137
e.g. ` FromEnv(Self: Add<i32>) `
@@ -260,7 +260,7 @@ In addition to auto traits, `WellFormed` predicates are co-inductive.
260
260
These are used to achieve a similar "enumerate all the cases" pattern,
261
261
as described in the section on [ implied bounds] .
262
262
263
- [ implied bounds ] : ./lowering-rules .html#implied-bounds
263
+ [ implied bounds ] : https://rust-lang.github.io/chalk/book/clauses/implied_bounds .html#implied-bounds
264
264
265
265
## Incomplete chapter
266
266
0 commit comments