rustc_driver: fix fallout of merging ast::ViewItem into ast::Item.
This commit is contained in:
parent
c91761e83e
commit
7dbefcec94
@ -477,7 +477,7 @@ fn expr_to_block(rules: ast::BlockCheckMode,
|
||||
e: Option<P<ast::Expr>>) -> P<ast::Block> {
|
||||
P(ast::Block {
|
||||
expr: e,
|
||||
view_items: vec![], stmts: vec![], rules: rules,
|
||||
stmts: vec![], rules: rules,
|
||||
id: ast::DUMMY_NODE_ID, span: codemap::DUMMY_SP,
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user