diff options
| author | Xiretza <xiretza@xiretza.xyz> | 2022-08-23 07:54:06 +0200 |
|---|---|---|
| committer | Xiretza <xiretza@xiretza.xyz> | 2022-08-30 12:18:43 +0200 |
| commit | 31b939b3152ea70b2a84992905f48e125d85ca18 (patch) | |
| tree | b1bf55a8414ff115afd9ff3cec7ab36b51237cf8 /compiler/rustc_macros/src/lib.rs | |
| parent | 1f69fbc345bafc0839111eefff2501398a2681a2 (diff) | |
| download | rust-31b939b3152ea70b2a84992905f48e125d85ca18.tar.gz rust-31b939b3152ea70b2a84992905f48e125d85ca18.zip | |
Rework SessionSubdiagnostic derive to support multipart_suggestion
Diffstat (limited to 'compiler/rustc_macros/src/lib.rs')
| -rw-r--r-- | compiler/rustc_macros/src/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/rustc_macros/src/lib.rs b/compiler/rustc_macros/src/lib.rs index 8faac8ef36a..20ee5dfc727 100644 --- a/compiler/rustc_macros/src/lib.rs +++ b/compiler/rustc_macros/src/lib.rs @@ -171,8 +171,13 @@ decl_derive!( suggestion_short, suggestion_hidden, suggestion_verbose, + multipart_suggestion, + multipart_suggestion_short, + multipart_suggestion_hidden, + multipart_suggestion_verbose, // field attributes skip_arg, primary_span, + suggestion_part, applicability)] => diagnostics::session_subdiagnostic_derive ); |
