summary refs log tree commit diff
path: root/src/test/debuginfo/method-on-tuple-struct.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2014-07-07 23:19:35 -0700
committerPatrick Walton <pcwalton@mimiga.net>2014-07-16 23:16:12 -0700
commit00c70d1a803e62ccbe2545d5c5522f4dcd6953b9 (patch)
tree162e3b98fc57b10079f3ed04ff2144bafbfabae4 /src/test/debuginfo/method-on-tuple-struct.rs
parentfe49cbeb82deaa771dcaa4f512cb9f967beb5996 (diff)
downloadrust-00c70d1a803e62ccbe2545d5c5522f4dcd6953b9.tar.gz
rust-00c70d1a803e62ccbe2545d5c5522f4dcd6953b9.zip
librustc: Allow the new UFCS explicit self in trait definitions, and
remove `~self` from the test suite.
Diffstat (limited to 'src/test/debuginfo/method-on-tuple-struct.rs')
-rw-r--r--src/test/debuginfo/method-on-tuple-struct.rs2
1 files changed, 1 insertions, 1 deletions
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<TupleStruct>, arg1: int, arg2: int) -> int {
         zzz(); // #break
         arg1 + arg2
     }