diff options
| author | David Wood <david.wood@huawei.com> | 2022-06-29 15:42:12 +0100 | 
|---|---|---|
| committer | David Wood <david.wood@huawei.com> | 2022-07-05 16:00:20 +0100 | 
| commit | 84ec77769f4bf0bbd1b913747e9a1a7226a6116f (patch) | |
| tree | 23728dfb4488dafb397667af8e4e25826c614cea /compiler/rustc_macros/src/diagnostics/mod.rs | |
| parent | 54f79babae06d3772c067f696e5b12db822ae25f (diff) | |
| download | rust-84ec77769f4bf0bbd1b913747e9a1a7226a6116f.tar.gz rust-84ec77769f4bf0bbd1b913747e9a1a7226a6116f.zip | |
macros: fix documentation link for diag derive
Signed-off-by: David Wood <david.wood@huawei.com>
Diffstat (limited to 'compiler/rustc_macros/src/diagnostics/mod.rs')
| -rw-r--r-- | compiler/rustc_macros/src/diagnostics/mod.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/compiler/rustc_macros/src/diagnostics/mod.rs b/compiler/rustc_macros/src/diagnostics/mod.rs index 2eee4bfb5dd..d60de7150c5 100644 --- a/compiler/rustc_macros/src/diagnostics/mod.rs +++ b/compiler/rustc_macros/src/diagnostics/mod.rs @@ -56,7 +56,7 @@ use synstructure::Structure; /// ``` /// /// See rustc dev guide for more examples on using the `#[derive(SessionDiagnostic)]`: -/// <https://rustc-dev-guide.rust-lang.org/diagnostics/sessiondiagnostic.html> +/// <https://rustc-dev-guide.rust-lang.org/diagnostics/diagnostic-structs.html> pub fn session_diagnostic_derive(s: Structure<'_>) -> TokenStream { // Names for the diagnostic we build and the session we build it from. let diag = format_ident!("diag"); | 
