about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-07-01 04:25:38 +0200
committerGitHub <noreply@github.com>2025-07-01 04:25:38 +0200
commitbce74545eac25b9a442aa7a92247997a07454251 (patch)
tree6973f4d31ef639cdb21e507d9202f17e869a0c4b /compiler/rustc_errors/src
parentb6cd765b19c4917afa74393dfcaef2d80517ee2e (diff)
parent4e83298ae845a15e2d2dbb800921cfe0b09d4765 (diff)
downloadrust-bce74545eac25b9a442aa7a92247997a07454251.tar.gz
rust-bce74545eac25b9a442aa7a92247997a07454251.zip
Rollup merge of #143263 - ComputerDruid:linkify_CodeSuggestion, r=compiler-errors
linkify CodeSuggestion in doc comments
Diffstat (limited to 'compiler/rustc_errors/src')
-rw-r--r--compiler/rustc_errors/src/diagnostic.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_errors/src/diagnostic.rs b/compiler/rustc_errors/src/diagnostic.rs
index 8da7cdd9358..fe9797026de 100644
--- a/compiler/rustc_errors/src/diagnostic.rs
+++ b/compiler/rustc_errors/src/diagnostic.rs
@@ -1005,7 +1005,7 @@ impl<'a, G: EmissionGuarantee> Diag<'a, G> {
     /// * may look like "to do xyz, use" or "to do xyz, use abc"
     /// * may contain a name of a function, variable, or type, but not whole expressions
     ///
-    /// See `CodeSuggestion` for more information.
+    /// See [`CodeSuggestion`] for more information.
     #[rustc_lint_diagnostics]
     pub fn span_suggestion(
         &mut self,
@@ -1166,7 +1166,7 @@ impl<'a, G: EmissionGuarantee> Diag<'a, G> {
     /// Prints out a message with a suggested edit of the code. If the suggestion is presented
     /// inline, it will only show the message and not the suggestion.
     ///
-    /// See `CodeSuggestion` for more information.
+    /// See [`CodeSuggestion`] for more information.
     #[rustc_lint_diagnostics]
     pub fn span_suggestion_short(
         &mut self,