Add note_once/help_once to diagnostic derives
This commit is contained in:
parent
56bca95875
commit
eee14e9adf
3 changed files with 30 additions and 4 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue