Introduce OwnerNode::Crate.
This commit is contained in:
parent
36a28060f1
commit
fee421685d
17 changed files with 69 additions and 65 deletions
|
@ -169,7 +169,7 @@ pub fn print_crate<'a>(
|
|||
// When printing the AST, we sometimes need to inject `#[no_std]` here.
|
||||
// Since you can't compile the HIR, it's not necessary.
|
||||
|
||||
s.print_mod(&krate.item, s.attrs(hir::CRATE_HIR_ID));
|
||||
s.print_mod(&krate.module(), s.attrs(hir::CRATE_HIR_ID));
|
||||
s.print_remaining_comments();
|
||||
s.s.eof()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue