@@ -465,7 +465,8 @@ pub fn skolemize_late_bound_regions<'a,'tcx,T>(infcx: &InferCtxt<'a,'tcx>,
465
465
* Replace all regions bound by `binder` with skolemized regions and
466
466
* return a map indicating which bound-region was replaced with what
467
467
* skolemized region. This is the first step of checking subtyping
468
- * when higher-ranked things are involved. See `doc.rs` for more details.
468
+ * when higher-ranked things are involved. See `README.md` for more
469
+ * details.
469
470
*/
470
471
471
472
let ( result, map) = ty:: replace_late_bound_regions ( infcx. tcx , binder, |br| {
@@ -490,7 +491,7 @@ pub fn leak_check<'a,'tcx>(infcx: &InferCtxt<'a,'tcx>,
490
491
* and checks to determine whether any of the skolemized regions created
491
492
* in `skol_map` would "escape" -- meaning that they are related to
492
493
* other regions in some way. If so, the higher-ranked subtyping doesn't
493
- * hold. See `doc.rs ` for more details.
494
+ * hold. See `README.md ` for more details.
494
495
*/
495
496
496
497
debug ! ( "leak_check: skol_map={}" ,
@@ -533,7 +534,7 @@ pub fn leak_check<'a,'tcx>(infcx: &InferCtxt<'a,'tcx>,
533
534
/// passed; currently, it's used in the trait matching code to create
534
535
/// a set of nested obligations frmo an impl that matches against
535
536
/// something higher-ranked. More details can be found in
536
- /// `middle:: traits::doc.rs `.
537
+ /// `librustc/ middle/ traits/README.md `.
537
538
///
538
539
/// As a brief example, consider the obligation `for<'a> Fn(&'a int)
539
540
/// -> &'a int`, and the impl:
0 commit comments