From: Niko Matsakis Date: Thu, 5 Jan 2012 06:07:03 +0000 (-0800) Subject: make test typecheck X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=75f84b2563f2d644a3d0cae4c2bc66c483008936;p=rust.git make test typecheck --- diff --git a/src/test/pretty/block-arg-disambig.rs b/src/test/pretty/block-arg-disambig.rs index 288e01dcc53..0f249b99d19 100644 --- a/src/test/pretty/block-arg-disambig.rs +++ b/src/test/pretty/block-arg-disambig.rs @@ -1,5 +1,2 @@ fn blk1(b: block()) -> fn@() { ret fn@() { }; } - fn test1() { (blk1 {|| #debug["hi"]; })(); } - -fn test2() { (blk1 {|| #debug["hi"]; }) {|| #debug["ho"]; }; }