about summary refs log tree commit diff
path: root/compiler/rustc_errors
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-12-11 20:00:15 +0100
committerGitHub <noreply@github.com>2024-12-11 20:00:15 +0100
commit90a42c2519c97775b2b9cd55fb2b6d9100b8db3b (patch)
tree63b33a6d42eef86d380aa949ef2878698ef0ae52 /compiler/rustc_errors
parent2e60288ce0b317134779d95daf80df601a4c17c5 (diff)
parent55806e565503f8d9e519f3c958f3c51836304cd2 (diff)
downloadrust-90a42c2519c97775b2b9cd55fb2b6d9100b8db3b.tar.gz
rust-90a42c2519c97775b2b9cd55fb2b6d9100b8db3b.zip
Rollup merge of #134148 - dev-ardi:cleanup_check_field_expr, r=compiler-errors
add comments in check_expr_field

Nothing special, just a few comments and a couple of small cleanups.
Diffstat (limited to 'compiler/rustc_errors')
-rw-r--r--compiler/rustc_errors/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs
index 6232c875ee8..fc44340851c 100644
--- a/compiler/rustc_errors/src/lib.rs
+++ b/compiler/rustc_errors/src/lib.rs
@@ -1291,7 +1291,7 @@ impl<'a> DiagCtxtHandle<'a> {
         Diag::<ErrorGuaranteed>::new(self, DelayedBug, msg.into()).emit()
     }
 
-    /// Ensures that an error is printed. See `Level::DelayedBug`.
+    /// Ensures that an error is printed. See [`Level::DelayedBug`].
     ///
     /// Note: this function used to be called `delay_span_bug`. It was renamed
     /// to match similar functions like `span_err`, `span_warn`, etc.