Skip to content

Commit 7bd0b20

Browse files
authored
Unrolled build for #143263
Rollup merge of #143263 - ComputerDruid:linkify_CodeSuggestion, r=compiler-errors linkify CodeSuggestion in doc comments
2 parents 6988a8f + 4e83298 commit 7bd0b20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_errors/src/diagnostic.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ impl<'a, G: EmissionGuarantee> Diag<'a, G> {
10051005
/// * may look like "to do xyz, use" or "to do xyz, use abc"
10061006
/// * may contain a name of a function, variable, or type, but not whole expressions
10071007
///
1008-
/// See `CodeSuggestion` for more information.
1008+
/// See [`CodeSuggestion`] for more information.
10091009
#[rustc_lint_diagnostics]
10101010
pub fn span_suggestion(
10111011
&mut self,
@@ -1166,7 +1166,7 @@ impl<'a, G: EmissionGuarantee> Diag<'a, G> {
11661166
/// Prints out a message with a suggested edit of the code. If the suggestion is presented
11671167
/// inline, it will only show the message and not the suggestion.
11681168
///
1169-
/// See `CodeSuggestion` for more information.
1169+
/// See [`CodeSuggestion`] for more information.
11701170
#[rustc_lint_diagnostics]
11711171
pub fn span_suggestion_short(
11721172
&mut self,

0 commit comments

Comments
 (0)