diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2025-08-11 04:21:09 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2025-08-11 16:00:49 +0000 |
| commit | 625143bac3e2917adb59314a408b17e8d2f9bd65 (patch) | |
| tree | 68137828ca43d9ec1fb7a596ad93fe8e72febf5e /compiler/rustc_lint/src/lints.rs | |
| parent | 189f264926ff70b58c8907473de60766477e7dd6 (diff) | |
| download | rust-625143bac3e2917adb59314a408b17e8d2f9bd65.tar.gz rust-625143bac3e2917adb59314a408b17e8d2f9bd65.zip | |
Add link to docs on malformed attributes
Diffstat (limited to 'compiler/rustc_lint/src/lints.rs')
| -rw-r--r-- | compiler/rustc_lint/src/lints.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_lint/src/lints.rs b/compiler/rustc_lint/src/lints.rs index 73e69a1791a..ba0112c8ac6 100644 --- a/compiler/rustc_lint/src/lints.rs +++ b/compiler/rustc_lint/src/lints.rs @@ -2685,6 +2685,9 @@ pub(crate) struct UnusedCrateDependency { pub(crate) struct IllFormedAttributeInput { pub num_suggestions: usize, pub suggestions: DiagArgValue, + #[note] + pub has_docs: bool, + pub docs: &'static str, } #[derive(LintDiagnostic)] |
