about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2013-11-09 11:34:05 -0500
committerNiko Matsakis <niko@alum.mit.edu>2013-11-09 11:34:05 -0500
commitf6e8d49a1a3cd67933c7efebfe7a0c55470049f3 (patch)
treebb7f73a59c57938d30f95ed4bb07baca432f4118
parenta15196c53bddc77ce1012dc237149d8adb767c30 (diff)
downloadrust-f6e8d49a1a3cd67933c7efebfe7a0c55470049f3.tar.gz
rust-f6e8d49a1a3cd67933c7efebfe7a0c55470049f3.zip
Make irrelevant changes to regions-mock-tcx to convince the pretty printer to emit the same thing twice in a row
-rw-r--r--src/test/run-pass/regions-mock-tcx.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/run-pass/regions-mock-tcx.rs b/src/test/run-pass/regions-mock-tcx.rs
index f43b12229bc..50a71278c06 100644
--- a/src/test/run-pass/regions-mock-tcx.rs
+++ b/src/test/run-pass/regions-mock-tcx.rs
@@ -93,7 +93,6 @@ enum AstKind<'ast> {
     ExprInt,
     ExprVar(uint),
     ExprLambda(Ast<'ast>),
-    // ...
 }
 
 fn compute_types<'tcx,'ast>(tcx: &mut TypeContext<'tcx,'ast>,
@@ -104,15 +103,12 @@ fn compute_types<'tcx,'ast>(tcx: &mut TypeContext<'tcx,'ast>,
             let ty = tcx.add_type(TypeInt);
             tcx.set_type(ast.id, ty)
         }
-
         ExprLambda(ast) => {
             let arg_ty = tcx.add_type(TypeInt);
             let body_ty = compute_types(tcx, ast);
             let lambda_ty = tcx.add_type(TypeFunction(arg_ty, body_ty));
             tcx.set_type(ast.id, lambda_ty)
         }
-
-        // ...
     }
 }