rustc_driver: fix fallout of merging ast::ViewItem into ast::Item.
This commit is contained in:
parent
c91761e83e
commit
7dbefcec94
1 changed files with 1 additions and 1 deletions
|
@ -477,7 +477,7 @@ impl fold::Folder for ReplaceBodyWithLoop {
|
||||||
e: Option<P<ast::Expr>>) -> P<ast::Block> {
|
e: Option<P<ast::Expr>>) -> P<ast::Block> {
|
||||||
P(ast::Block {
|
P(ast::Block {
|
||||||
expr: e,
|
expr: e,
|
||||||
view_items: vec![], stmts: vec![], rules: rules,
|
stmts: vec![], rules: rules,
|
||||||
id: ast::DUMMY_NODE_ID, span: codemap::DUMMY_SP,
|
id: ast::DUMMY_NODE_ID, span: codemap::DUMMY_SP,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue