about summary refs log tree commit diff
path: root/compiler/rustc_lint_defs
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2025-08-11 04:21:09 +0000
committerEsteban Küber <esteban@kuber.com.ar>2025-08-11 16:00:49 +0000
commit625143bac3e2917adb59314a408b17e8d2f9bd65 (patch)
tree68137828ca43d9ec1fb7a596ad93fe8e72febf5e /compiler/rustc_lint_defs
parent189f264926ff70b58c8907473de60766477e7dd6 (diff)
downloadrust-625143bac3e2917adb59314a408b17e8d2f9bd65.tar.gz
rust-625143bac3e2917adb59314a408b17e8d2f9bd65.zip
Add link to docs on malformed attributes
Diffstat (limited to 'compiler/rustc_lint_defs')
-rw-r--r--compiler/rustc_lint_defs/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_lint_defs/src/lib.rs b/compiler/rustc_lint_defs/src/lib.rs
index fe068d96b74..dc5ea3922f1 100644
--- a/compiler/rustc_lint_defs/src/lib.rs
+++ b/compiler/rustc_lint_defs/src/lib.rs
@@ -793,6 +793,7 @@ pub enum BuiltinLintDiag {
     },
     IllFormedAttributeInput {
         suggestions: Vec<String>,
+        docs: Option<&'static str>,
     },
     InnerAttributeUnstable {
         is_macro: bool,