gccrs icon indicating copy to clipboard operation
gccrs copied to clipboard

module lowering: Do not append null pointers as items

Open CohenArthur opened this issue 3 years ago • 0 comments

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

CohenArthur avatar Sep 14 '22 08:09 CohenArthur