|
29 | 29 | //! For a more detailed look at what is happening here, check |
30 | 30 | //! out the [chapter in the rustc guide][c]. |
31 | 31 | //! |
32 | | -//! [c]: https://rust-lang-nursery.github.io/rustc-guide/traits-canonicalization.html |
| 32 | +//! [c]: https://rust-lang-nursery.github.io/rustc-guide/traits/canonicalization.html |
33 | 33 |
|
34 | 34 | use infer::{InferCtxt, InferOk, InferResult, RegionVariableOrigin, TypeVariableOrigin}; |
35 | 35 | use rustc_data_structures::indexed_vec::Idx; |
@@ -274,7 +274,7 @@ impl<'cx, 'gcx, 'tcx> InferCtxt<'cx, 'gcx, 'tcx> { |
274 | 274 | /// To get a good understanding of what is happening here, check |
275 | 275 | /// out the [chapter in the rustc guide][c]. |
276 | 276 | /// |
277 | | - /// [c]: https://rust-lang-nursery.github.io/rustc-guide/traits-canonicalization.html#processing-the-canonicalized-query-result |
| 277 | + /// [c]: https://rust-lang-nursery.github.io/rustc-guide/traits/canonicalization.html#processing-the-canonicalized-query-result |
278 | 278 | pub fn instantiate_query_result<R>( |
279 | 279 | &self, |
280 | 280 | cause: &ObligationCause<'tcx>, |
@@ -458,7 +458,7 @@ impl<'cx, 'gcx, 'tcx> InferCtxt<'cx, 'gcx, 'tcx> { |
458 | 458 | /// To get a good understanding of what is happening here, check |
459 | 459 | /// out the [chapter in the rustc guide][c]. |
460 | 460 | /// |
461 | | - /// [c]: https://rust-lang-nursery.github.io/rustc-guide/traits-canonicalization.html#canonicalizing-the-query |
| 461 | + /// [c]: https://rust-lang-nursery.github.io/rustc-guide/traits/canonicalization.html#canonicalizing-the-query |
462 | 462 | pub fn canonicalize_query<V>(&self, value: &V) -> (V::Canonicalized, CanonicalVarValues<'tcx>) |
463 | 463 | where |
464 | 464 | V: Canonicalize<'gcx, 'tcx>, |
@@ -497,7 +497,7 @@ impl<'cx, 'gcx, 'tcx> InferCtxt<'cx, 'gcx, 'tcx> { |
497 | 497 | /// To get a good understanding of what is happening here, check |
498 | 498 | /// out the [chapter in the rustc guide][c]. |
499 | 499 | /// |
500 | | - /// [c]: https://rust-lang-nursery.github.io/rustc-guide/traits-canonicalization.html#canonicalizing-the-query-result |
| 500 | + /// [c]: https://rust-lang-nursery.github.io/rustc-guide/traits/canonicalization.html#canonicalizing-the-query-result |
501 | 501 | pub fn canonicalize_response<V>( |
502 | 502 | &self, |
503 | 503 | value: &V, |
|
0 commit comments