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-20 12:52:05 +0000
committerXiretza <xiretza@xiretza.xyz>2024-04-21 07:45:03 +0000
commitc88bb6c011a034a8b29d2a61734de0d36a02a1e9 (patch)
tree1142ecaf1e28ba7e32ee55d07b8cd42b1cfea1df /compiler/rustc_macros/src/lib.rs
parent5646b65cf58123679fdf4ef489f690d1b21e1436 (diff)
downloadrust-c88bb6c011a034a8b29d2a61734de0d36a02a1e9.tar.gz
rust-c88bb6c011a034a8b29d2a61734de0d36a02a1e9.zip
Allow nesting subdiagnostics
Diffstat (limited to 'compiler/rustc_macros/src/lib.rs')
-rw-r--r--compiler/rustc_macros/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_macros/src/lib.rs b/compiler/rustc_macros/src/lib.rs
index eedc508fb14..c7b7eadbd9d 100644
--- a/compiler/rustc_macros/src/lib.rs
+++ b/compiler/rustc_macros/src/lib.rs
@@ -144,6 +144,7 @@ decl_derive!(
         help,
         note,
         warning,
+        subdiagnostic,
         suggestion,
         suggestion_short,
         suggestion_hidden,