Skip to content

Commit 8c4056f

Browse files
Treat macros as HIR items
1 parent afd892a commit 8c4056f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clippy_lints/src/missing_doc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ impl<'tcx> LateLintPass<'tcx> for MissingDoc {
123123
hir::ItemKind::Const(..)
124124
| hir::ItemKind::Enum(..)
125125
| hir::ItemKind::Mod(..)
126+
| hir::ItemKind::Macro(..)
126127
| hir::ItemKind::Static(..)
127128
| hir::ItemKind::Struct(..)
128129
| hir::ItemKind::Trait(..)

0 commit comments

Comments
 (0)