From d2bd07dcb02783063375b6c8532fceaf9fa9d50f Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Tue, 19 Apr 2011 13:35:49 -0700 Subject: Remove effect system from src. --- src/test/run-pass/writealias.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test/run-pass/writealias.rs') diff --git a/src/test/run-pass/writealias.rs b/src/test/run-pass/writealias.rs index 551fb7d3..8bf8140f 100644 --- a/src/test/run-pass/writealias.rs +++ b/src/test/run-pass/writealias.rs @@ -2,11 +2,11 @@ type point = rec(int x, int y, mutable int z); -impure fn f(& mutable point p) { +fn f(& mutable point p) { p.z = 13; } -impure fn main() { +fn main() { let point x = rec(x=10, y=11, mutable z=12); f(x); check (x.z == 13); -- cgit v1.2.3