Skip to content

Commit 84ec777

Browse files
committed
macros: fix documentation link for diag derive
Signed-off-by: David Wood <[email protected]>
1 parent 54f79ba commit 84ec777

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_macros/src/diagnostics

1 file changed

+1
-1
lines changed

compiler/rustc_macros/src/diagnostics/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ use synstructure::Structure;
5656
/// ```
5757
///
5858
/// See rustc dev guide for more examples on using the `#[derive(SessionDiagnostic)]`:
59-
/// <https://rustc-dev-guide.rust-lang.org/diagnostics/sessiondiagnostic.html>
59+
/// <https://rustc-dev-guide.rust-lang.org/diagnostics/diagnostic-structs.html>
6060
pub fn session_diagnostic_derive(s: Structure<'_>) -> TokenStream {
6161
// Names for the diagnostic we build and the session we build it from.
6262
let diag = format_ident!("diag");

0 commit comments

Comments
 (0)