Skip to content

Commit

Permalink
The details of higher-rank sub are in the rustc book not a doc module.
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminp committed Dec 4, 2020
1 parent 4d8a7c2 commit 76ff0f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions compiler/rustc_infer/src/infer/higher_ranked/mod.rs
Expand Up @@ -24,9 +24,9 @@ impl<'a, 'tcx> CombineFields<'a, 'tcx> {
// as-is, we need to do some extra work here in order to make sure
// that function subtyping works correctly with respect to regions
//
// Note: this is a subtle algorithm. For a full explanation,
// please see the large comment at the end of the file in the (inlined) module
// `doc`.
// Note: this is a subtle algorithm. For a full explanation, please see
// the rustc dev guide:
// <https://rustc-dev-guide.rust-lang.org/borrow_check/region_inference/placeholders_and_universes.html>

let span = self.trace.cause.span;

Expand Down

0 comments on commit 76ff0f4

Please sign in to comment.