about summary refs log tree commit diff
path: root/compiler/rustc_errors
diff options
context:
space:
mode:
authorFridtjof Stoldt <xFrednet@gmail.com>2022-04-05 18:23:38 +0200
committerxFrednet <xFrednet@gmail.com>2022-05-08 17:24:15 +0200
commit9516a40f1e767d1181344f9a3df8f740dff673c5 (patch)
tree6a7e18960c94adab15fca37048bd7e2c90392d21 /compiler/rustc_errors
parent897404e1d92de56577c0a7126ba31a66cc67db66 (diff)
Fixed typo in docs and correct doc links
Co-authored-by: Philipp Krones <hello@philkrones.com>
Diffstat (limited to 'compiler/rustc_errors')
-rw-r--r--compiler/rustc_errors/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs
index 21914dd7a8c..29643eaad99 100644
--- a/compiler/rustc_errors/src/lib.rs
+++ b/compiler/rustc_errors/src/lib.rs
@@ -426,10 +426,10 @@ struct HandlerInner {
 
     future_breakage_diagnostics: Vec<Diagnostic>,
 
-    /// The [`unstable_expect_diagnostics`] should be empty when this struct is
+    /// The [`Self::unstable_expect_diagnostics`] should be empty when this struct is
     /// dropped. However, it can have values if the compilation is stopped early
     /// or is only partially executed. To avoid ICEs, like in rust#94953 we only
-    /// check if [`unstable_expect_diagnostics`] is empty, if the expectation ids
+    /// check if [`Self::unstable_expect_diagnostics`] is empty, if the expectation ids
     /// have been converted.
     check_unstable_expect_diagnostics: bool,