about summary refs log tree commit diff
path: root/src/test/debuginfo/method-on-enum.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/debuginfo/method-on-enum.rs')
-rw-r--r--src/test/debuginfo/method-on-enum.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/debuginfo/method-on-enum.rs b/src/test/debuginfo/method-on-enum.rs
index f3d723e88bc..74f4882bd4b 100644
--- a/src/test/debuginfo/method-on-enum.rs
+++ b/src/test/debuginfo/method-on-enum.rs
@@ -136,7 +136,7 @@ impl Enum {
         arg1 + arg2
     }
 
-    fn self_owned(~self, arg1: int, arg2: int) -> int {
+    fn self_owned(self: Box<Enum>, arg1: int, arg2: int) -> int {
         zzz(); // #break
         arg1 + arg2
     }