Add note_once/help_once to diagnostic derives

This commit is contained in:
Xiretza
2024-04-24 17:28:26 +00:00
parent 56bca95875
commit eee14e9adf
3 changed files with 30 additions and 4 deletions

View File

@@ -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,