Skip to content

Commit 76ff0f4

Browse files
committed
The details of higher-rank sub are in the rustc book not a doc module.
1 parent 4d8a7c2 commit 76ff0f4

File tree

1 file changed

+3
-3
lines changed
  • compiler/rustc_infer/src/infer/higher_ranked

1 file changed

+3
-3
lines changed

Diff for: compiler/rustc_infer/src/infer/higher_ranked/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ impl<'a, 'tcx> CombineFields<'a, 'tcx> {
2424
// as-is, we need to do some extra work here in order to make sure
2525
// that function subtyping works correctly with respect to regions
2626
//
27-
// Note: this is a subtle algorithm. For a full explanation,
28-
// please see the large comment at the end of the file in the (inlined) module
29-
// `doc`.
27+
// Note: this is a subtle algorithm. For a full explanation, please see
28+
// the rustc dev guide:
29+
// <https://rustc-dev-guide.rust-lang.org/borrow_check/region_inference/placeholders_and_universes.html>
3030

3131
let span = self.trace.cause.span;
3232

0 commit comments

Comments
 (0)