From 2884c722fea91866cefda99eb0ba3a4b64dfd94f Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Tue, 25 Oct 2011 14:31:56 +0200 Subject: Step one towards new type param kind syntax Issue #1067 Needs a snapshot to finalize. --- src/test/compile-fail/implicit-copy-2.rs | 2 +- src/test/run-pass/resource-in-struct.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test') diff --git a/src/test/compile-fail/implicit-copy-2.rs b/src/test/compile-fail/implicit-copy-2.rs index fbdfa45ec8e..4ff190ee405 100644 --- a/src/test/compile-fail/implicit-copy-2.rs +++ b/src/test/compile-fail/implicit-copy-2.rs @@ -4,7 +4,7 @@ resource r(i: @mutable int) { *i = *i + 1; } -fn movearg(i: T) { +fn movearg(i: T) { // Implicit copy to mutate reference i let j <- i; } diff --git a/src/test/run-pass/resource-in-struct.rs b/src/test/run-pass/resource-in-struct.rs index 758beb3d9e1..f815fcfd534 100644 --- a/src/test/run-pass/resource-in-struct.rs +++ b/src/test/run-pass/resource-in-struct.rs @@ -5,7 +5,7 @@ type closable = @mutable bool; resource close_res(i: closable) { *i = false; } -tag option { none; some(T); } +tag option { none; some(T); } fn sink(res: option) { } -- cgit 1.4.1-3-g733a5