Remove hir::CrateItem.
This commit is contained in:
parent
16156fb278
commit
9d8f833e05
15 changed files with 26 additions and 40 deletions
|
@ -569,7 +569,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
|
|||
}
|
||||
|
||||
hir::Crate {
|
||||
item: hir::CrateItem { module, span: c.span },
|
||||
item: module,
|
||||
exported_macros: self.arena.alloc_from_iter(self.exported_macros),
|
||||
non_exported_macro_attrs: self.arena.alloc_from_iter(self.non_exported_macro_attrs),
|
||||
items: self.items,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue