]> git.lizzy.rs Git - rust.git/commitdiff
make test typecheck
authorNiko Matsakis <niko@alum.mit.edu>
Thu, 5 Jan 2012 06:07:03 +0000 (22:07 -0800)
committerNiko Matsakis <niko@alum.mit.edu>
Thu, 5 Jan 2012 18:44:38 +0000 (10:44 -0800)
src/test/pretty/block-arg-disambig.rs

index 288e01dcc531f5c676cb96ee7567b7a82378cf12..0f249b99d1973ae2bec77dd6ce5dfa9442a461b2 100644 (file)
@@ -1,5 +1,2 @@
 fn blk1(b: block()) -> fn@() { ret fn@() { }; }
-
 fn test1() { (blk1 {|| #debug["hi"]; })(); }
-
-fn test2() { (blk1 {|| #debug["hi"]; }) {|| #debug["ho"]; }; }