about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEduard Burtescu <edy.burt@gmail.com>2014-12-23 21:34:26 +0200
committerEduard Burtescu <edy.burt@gmail.com>2015-01-21 16:27:26 +0200
commit7dbefcec947e8161f4d713a7ceb1b64d7bd4ab1c (patch)
treedf8eb6ee20e691df37d94eebe7bae319c8975f10
parentc91761e83e3178a491213b70e490ce714af2283e (diff)
downloadrust-7dbefcec947e8161f4d713a7ceb1b64d7bd4ab1c.tar.gz
rust-7dbefcec947e8161f4d713a7ceb1b64d7bd4ab1c.zip
rustc_driver: fix fallout of merging ast::ViewItem into ast::Item.
-rw-r--r--src/librustc_driver/pretty.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_driver/pretty.rs b/src/librustc_driver/pretty.rs
index 279442891be..582e1032324 100644
--- a/src/librustc_driver/pretty.rs
+++ b/src/librustc_driver/pretty.rs
@@ -477,7 +477,7 @@ impl fold::Folder for ReplaceBodyWithLoop {
                          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,
             })
         }