Skip to content

Commit fcb3c32

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_driver/pretty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ impl fold::Folder for ReplaceBodyWithLoop {
466466
e: Option<P<ast::Expr>>) -> P<ast::Block> {
467467
P(ast::Block {
468468
expr: e,
469-
view_items: vec![], stmts: vec![], rules: rules,
469+
stmts: vec![], rules: rules,
470470
id: ast::DUMMY_NODE_ID, span: codemap::DUMMY_SP,
471471
})
472472
}

0 commit comments

Comments
 (0)