about summary refs log tree commit diff
path: root/src/test/debuginfo/method-on-enum.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-07-17 06:21:21 +0000
committerbors <bors@rust-lang.org>2014-07-17 06:21:21 +0000
commit32cb44bfff3facbded5fd9cc74af3f02e81565a8 (patch)
tree162e3b98fc57b10079f3ed04ff2144bafbfabae4 /src/test/debuginfo/method-on-enum.rs
parent459ffc2adc74f5e8b64a76f5670edb419b9f65da (diff)
parent00c70d1a803e62ccbe2545d5c5522f4dcd6953b9 (diff)
downloadrust-32cb44bfff3facbded5fd9cc74af3f02e81565a8.tar.gz
rust-32cb44bfff3facbded5fd9cc74af3f02e81565a8.zip
auto merge of #14022 : pcwalton/rust/explicit-self, r=pnkfelix
r? @nikomatsakis 
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
     }