@@ -177,8 +177,8 @@ The result would be as follows:
177177``` text
178178Canonical(QR) = for<T, L> {
179179 certainty: Proven,
180- var_values: [Vec<?0>, '?1, ?2 ]
181- region_constraints: [?2 : '?1],
180+ var_values: [Vec<?0>, '?1, ?0 ]
181+ region_constraints: [?0 : '?1],
182182 value: (),
183183}
184184```
@@ -213,8 +213,8 @@ and now we got back a canonical response:
213213``` text
214214for<T, L> {
215215 certainty: Proven,
216- var_values: [Vec<?0>, '?1, ?2 ]
217- region_constraints: [?2 : '?1],
216+ var_values: [Vec<?0>, '?1, ?0 ]
217+ region_constraints: [?0 : '?1],
218218 value: (),
219219}
220220```
@@ -250,7 +250,7 @@ for later verification.
250250than eagerly instantiating all of the canonical values in the result
251251with variables, we instead walk the vector of values, looking for
252252cases where the value is just a canonical variable. In our example,
253- ` values[2] ` is ` ?C ` , so that means we can deduce that `?C := ?B and
253+ ` values[2] ` is ` ?C ` , so that means we can deduce that ` ?C := ?B ` and
254254` '?D := 'static ` . This gives us a partial set of values. Anything for
255255which we do not find a value, we create an inference variable.)
256256
0 commit comments