We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54f79ba commit 84ec777Copy full SHA for 84ec777
compiler/rustc_macros/src/diagnostics/mod.rs
@@ -56,7 +56,7 @@ use synstructure::Structure;
56
/// ```
57
///
58
/// See rustc dev guide for more examples on using the `#[derive(SessionDiagnostic)]`:
59
-/// <https://rustc-dev-guide.rust-lang.org/diagnostics/sessiondiagnostic.html>
+/// <https://rustc-dev-guide.rust-lang.org/diagnostics/diagnostic-structs.html>
60
pub fn session_diagnostic_derive(s: Structure<'_>) -> TokenStream {
61
// Names for the diagnostic we build and the session we build it from.
62
let diag = format_ident!("diag");
0 commit comments