Gather module items after lowering. This avoids having a non-local analysis inside lowering. By implementing `hir_module_items` using a visitor, we make sure that iterations and visitors are consistent.
Clone
Debug
!
asm!
LayoutOf
Session.used_attrs
CheckAttrVisitor
MacroDef
OwnerNode