document check_expr_field

This commit is contained in:
Orion Gonzalez
2024-12-10 23:19:45 +01:00
parent 33c245b9e9
commit 55806e5655
2 changed files with 23 additions and 6 deletions

View File

@@ -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.