about summary refs log tree commit diff
path: root/src/libsyntax/print/pprust.rs
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-08-03 23:51:29 -0400
committerDaniel Micay <danielmicay@gmail.com>2013-08-04 00:39:48 -0400
commite7bb33aed889aebae1b141cdcc2aeeebab1724ee (patch)
tree528ad739b0c54febc5ee5aaa9baf42f89dca8112 /src/libsyntax/print/pprust.rs
parent10089455287dcc3652b984ab4bfd6971e1b5f302 (diff)
downloadrust-e7bb33aed889aebae1b141cdcc2aeeebab1724ee.tar.gz
rust-e7bb33aed889aebae1b141cdcc2aeeebab1724ee.zip
rm obsolete `for` support from the compiler
Diffstat (limited to 'src/libsyntax/print/pprust.rs')
-rw-r--r--src/libsyntax/print/pprust.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs
index c3fcacdf7b0..174b0f8e451 100644
--- a/src/libsyntax/print/pprust.rs
+++ b/src/libsyntax/print/pprust.rs
@@ -1087,7 +1087,7 @@ pub fn print_call_post(s: @ps,
         nbsp(s);
         match blk.get().node {
           // need to handle closures specifically
-          ast::expr_do_body(e) | ast::expr_loop_body(e) => {
+          ast::expr_do_body(e) => {
             end(s); // we close our head box; closure
                     // will create it's own.
             print_expr(s, e);
@@ -1338,9 +1338,6 @@ pub fn print_expr(s: @ps, expr: &ast::expr) {
         // empty box to satisfy the close.
         ibox(s, 0);
       }
-      ast::expr_loop_body(body) => {
-        print_expr(s, body);
-      }
       ast::expr_do_body(body) => {
         print_expr(s, body);
       }