Skip to content

Commit

Permalink
Treat macros as HIR items
Browse files Browse the repository at this point in the history
  • Loading branch information
inquisitivecrystal committed Aug 28, 2021
1 parent afd892a commit 8c4056f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clippy_lints/src/missing_doc.rs
Expand Up @@ -123,6 +123,7 @@ impl<'tcx> LateLintPass<'tcx> for MissingDoc {
hir::ItemKind::Const(..)
| hir::ItemKind::Enum(..)
| hir::ItemKind::Mod(..)
| hir::ItemKind::Macro(..)
| hir::ItemKind::Static(..)
| hir::ItemKind::Struct(..)
| hir::ItemKind::Trait(..)
Expand Down

0 comments on commit 8c4056f

Please sign in to comment.