about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2024-07-24 12:58:44 +0200
committerTshepang Mbambo <tshepang@gmail.com>2024-07-24 13:08:53 +0200
commit30f52b28d07eb53bedc12417e56d4855b71d2e02 (patch)
tree74579f13745282ed33ead893aba14fe37ccdf72c /src/doc/rustc-dev-guide
parent61f29ae008d153fe809ef74c08a4e4d7484f4617 (diff)
downloadrust-30f52b28d07eb53bedc12417e56d4855b71d2e02.tar.gz
rust-30f52b28d07eb53bedc12417e56d4855b71d2e02.zip
fix link
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/solve/opaque-types.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/solve/opaque-types.md b/src/doc/rustc-dev-guide/src/solve/opaque-types.md
index 5a9920a497c..fa7dde2e6b2 100644
--- a/src/doc/rustc-dev-guide/src/solve/opaque-types.md
+++ b/src/doc/rustc-dev-guide/src/solve/opaque-types.md
@@ -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
@@ -116,4 +117,4 @@ fn go(i: usize) -> impl Future<Output = ()> + Send + 'static {
         }
     }
 }
-```
\ No newline at end of file
+```