Skip to content

Commit cce9399

Browse files
committed
rustc_driver: fix fallout of merging ast::ViewItem into ast::Item.
1 parent f6a8655 commit cce9399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_driver/pretty.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ impl fold::Folder for ReplaceBodyWithLoop {
452452
e: Option<P<ast::Expr>>) -> P<ast::Block> {
453453
P(ast::Block {
454454
expr: e,
455-
view_items: vec![], stmts: vec![], rules: rules,
455+
stmts: vec![], rules: rules,
456456
id: ast::DUMMY_NODE_ID, span: codemap::DUMMY_SP,
457457
})
458458
}

0 commit comments

Comments
 (0)