diff options
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/compile-fail/put-in-fn.rs | 4 | ||||
| -rw-r--r-- | src/test/run-pass/acyclic-unwind.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/test/compile-fail/put-in-fn.rs b/src/test/compile-fail/put-in-fn.rs index bb6363ac..9f704bc3 100644 --- a/src/test/compile-fail/put-in-fn.rs +++ b/src/test/compile-fail/put-in-fn.rs @@ -1,8 +1,8 @@ -// error-pattern: Non-iter function +// error-pattern: iterator function fn f() -> int { put 10; } fn main() { -}
\ No newline at end of file +} diff --git a/src/test/run-pass/acyclic-unwind.rs b/src/test/run-pass/acyclic-unwind.rs index 192a01f3..c9ed2ae3 100644 --- a/src/test/run-pass/acyclic-unwind.rs +++ b/src/test/run-pass/acyclic-unwind.rs @@ -5,7 +5,7 @@ io fn f(chan[int] c) type t = tup(int,int,int); // Allocate a box. - let @t x = tup(1,2,3); + let @t x = @tup(1,2,3); // Signal parent that we've allocated a box. c <| 1; |