We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
doc_include_without_cfg
1 parent 42cba02 commit fbf36ccCopy full SHA for fbf36cc
clippy_config/src/conf.rs
@@ -154,7 +154,7 @@ macro_rules! define_Conf {
154
)*) => {
155
/// Clippy lint configuration
156
pub struct Conf {
157
- $($(#[doc = $doc])+ pub $name: $ty,)*
+ $($(#[cfg_attr(doc, doc = $doc)])+ pub $name: $ty,)*
158
}
159
160
mod defaults {
clippy_lints/src/doc/mod.rs
@@ -1,3 +1,5 @@
1
+#![allow(clippy::lint_without_lint_pass)]
2
+
3
mod lazy_continuation;
4
mod too_long_first_doc_paragraph;
5
0 commit comments