about summary refs log tree commit diff
path: root/compiler/rustc_macros/src/lib.rs
diff options
context:
space:
mode:
authorXiretza <xiretza@xiretza.xyz>2024-04-24 17:28:26 +0000
committerXiretza <xiretza@xiretza.xyz>2024-05-21 20:11:42 +0000
commiteee14e9adf525169f8ea6fdf2579f6abce7ab24c (patch)
tree5b4bd8c5c93a6be6925910de3155c13bbe621a84 /compiler/rustc_macros/src/lib.rs
parent56bca95875ac710faebdaf35df4eff17e1e64c73 (diff)
downloadrust-eee14e9adf525169f8ea6fdf2579f6abce7ab24c.tar.gz
rust-eee14e9adf525169f8ea6fdf2579f6abce7ab24c.zip
Add note_once/help_once to diagnostic derives
Diffstat (limited to 'compiler/rustc_macros/src/lib.rs')
-rw-r--r--compiler/rustc_macros/src/lib.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/rustc_macros/src/lib.rs b/compiler/rustc_macros/src/lib.rs
index c7b7eadbd9d..de9c916b4f0 100644
--- a/compiler/rustc_macros/src/lib.rs
+++ b/compiler/rustc_macros/src/lib.rs
@@ -108,7 +108,9 @@ decl_derive!(
         // struct attributes
         diag,
         help,
+        help_once,
         note,
+        note_once,
         warning,
         // field attributes
         skip_arg,
@@ -125,7 +127,9 @@ decl_derive!(
         // struct attributes
         diag,
         help,
+        help_once,
         note,
+        note_once,
         warning,
         // field attributes
         skip_arg,
@@ -142,7 +146,9 @@ decl_derive!(
         // struct/variant attributes
         label,
         help,
+        help_once,
         note,
+        note_once,
         warning,
         subdiagnostic,
         suggestion,