We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e132820 + 233459e commit 49c2c2cCopy full SHA for 49c2c2c
clippy_lints/src/utils/inspector.rs
@@ -8,15 +8,19 @@ use syntax::ast::{Attribute, MetaItemKind};
8
9
/// **What it does:** Dumps every ast/hir node which has the `#[clippy_dump]` attribute
10
///
11
-/// **Why is this bad?** 😈
12
-///
13
-/// **Known problems:** ∅
14
15
/// **Example:**
16
/// ```rust
17
-/// #[inspect]
+/// #[clippy_dump]
18
/// extern crate foo;
19
/// ```
+///
+/// prints
+/// ```
20
+/// item `foo`
21
+/// visibility inherited from outer item
22
+/// extern crate dylib source: "/path/to/foo.so"
23
24
declare_lint! {
25
pub DEEP_CODE_INSPECTION,
26
Warn,
0 commit comments