about summary refs log tree commit diff
path: root/compiler/rustc_expand/messages.ftl
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2025-08-27 14:11:32 +0200
committerLeón Orell Valerian Liehr <me@fmease.dev>2025-09-14 12:38:11 +0200
commit31c0d96cb604ead17afeb09062d10cc019de9560 (patch)
tree8d7984bce1f8bd1d3bef44e6d30df46b025a23fe /compiler/rustc_expand/messages.ftl
parent2e816736efaebf1f4666efac1817bcccd78a3e52 (diff)
downloadrust-31c0d96cb604ead17afeb09062d10cc019de9560.tar.gz
rust-31c0d96cb604ead17afeb09062d10cc019de9560.zip
Move more early buffered lints to dyn lint diagnostics (2/N)
Diffstat (limited to 'compiler/rustc_expand/messages.ftl')
-rw-r--r--compiler/rustc_expand/messages.ftl4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_expand/messages.ftl b/compiler/rustc_expand/messages.ftl
index fc50ac6e3bf..f82ef96e9c7 100644
--- a/compiler/rustc_expand/messages.ftl
+++ b/compiler/rustc_expand/messages.ftl
@@ -80,6 +80,10 @@ expand_macro_body_stability =
     .label = invalid body stability attribute
     .label2 = body stability attribute affects this macro
 
+expand_macro_call_unused_doc_comment = unused doc comment
+    .label = rustdoc does not generate documentation for macro invocations
+    .help = to document an item produced by a macro, the macro must produce the documentation as part of its expansion
+
 expand_macro_const_stability =
     macros cannot have const stability attributes
     .label = invalid const stability attribute