diff options
| author | David Wood <david.wood@huawei.com> | 2022-03-31 12:10:00 +0100 |
|---|---|---|
| committer | David Wood <david.wood@huawei.com> | 2022-04-05 07:01:03 +0100 |
| commit | b40ee88a28938891dd40d35a635d13373c3011cb (patch) | |
| tree | 205667c818313077c5df996c430293376daeb726 /compiler/rustc_macros/src/lib.rs | |
| parent | a88717cef051b8ebbed0e74c57fc0a714bd893dc (diff) | |
| download | rust-b40ee88a28938891dd40d35a635d13373c3011cb.tar.gz rust-b40ee88a28938891dd40d35a635d13373c3011cb.zip | |
macros: note/help in `SessionDiagnostic` derive
Signed-off-by: David Wood <david.wood@huawei.com>
Diffstat (limited to 'compiler/rustc_macros/src/lib.rs')
| -rw-r--r-- | compiler/rustc_macros/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_macros/src/lib.rs b/compiler/rustc_macros/src/lib.rs index 67b56d2e9db..3589860eb0e 100644 --- a/compiler/rustc_macros/src/lib.rs +++ b/compiler/rustc_macros/src/lib.rs @@ -66,6 +66,8 @@ decl_derive!( // struct attributes warning, error, + note, + help, // field attributes skip_arg, primary_span, |
