Skip to content

Commit

Permalink
fix link
Browse files Browse the repository at this point in the history
  • Loading branch information
lcnr authored and tshepang committed Jul 24, 2024
1 parent 55477c1 commit 9e35307
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/solve/opaque-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ with the arguments of any opaque type already in the opaque types storage. If so
previously stored type with the expected type of this `normalizes-to` call: [source][eq-prev][^1].

If not, we insert the expected type in the opaque types storage: [source][insert-storage][^2].
Finally, we check whether the item bounds of the opaque hold for the expected type: [source].
Finally, we check whether the item bounds of the opaque hold for the expected type:
[source][item-bounds-ck].

[norm]: https://github.com/rust-lang/rust/blob/384d26fc7e3bdd7687cc17b2662b091f6017ec2a/compiler/rustc_trait_selection/src/solve/normalizes_to/opaque_types.rs#L13
[coherence-example]: https://github.com/rust-lang/rust/blob/master/tests/ui/type-alias-impl-trait/coherence_different_hidden_ty.rs
Expand Down Expand Up @@ -116,4 +117,4 @@ fn go(i: usize) -> impl Future<Output = ()> + Send + 'static {
}
}
}
```
```

0 comments on commit 9e35307

Please sign in to comment.