From 00c70d1a803e62ccbe2545d5c5522f4dcd6953b9 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Mon, 7 Jul 2014 23:19:35 -0700 Subject: librustc: Allow the new UFCS explicit self in trait definitions, and remove `~self` from the test suite. --- src/test/debuginfo/method-on-tuple-struct.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/debuginfo/method-on-tuple-struct.rs') diff --git a/src/test/debuginfo/method-on-tuple-struct.rs b/src/test/debuginfo/method-on-tuple-struct.rs index 6f8a6182063..d4051e333c1 100644 --- a/src/test/debuginfo/method-on-tuple-struct.rs +++ b/src/test/debuginfo/method-on-tuple-struct.rs @@ -131,7 +131,7 @@ impl TupleStruct { arg1 + arg2 } - fn self_owned(~self, arg1: int, arg2: int) -> int { + fn self_owned(self: Box, arg1: int, arg2: int) -> int { zzz(); // #break arg1 + arg2 } -- cgit 1.4.1-3-g733a5