gccrs
gccrs copied to clipboard
module lowering: Do not append null pointers as items
Some module items do not need to get lowered to HIR such as macro_rules! definitions. Hence, module lowering should act the same as crate lowering: Only emplace back the lowered item if it is a valid pointer
Fixes #1533