diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2014-07-07 23:19:35 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2014-07-16 23:16:12 -0700 |
| commit | 00c70d1a803e62ccbe2545d5c5522f4dcd6953b9 (patch) | |
| tree | 162e3b98fc57b10079f3ed04ff2144bafbfabae4 /src/test/debuginfo/method-on-tuple-struct.rs | |
| parent | fe49cbeb82deaa771dcaa4f512cb9f967beb5996 (diff) | |
| download | rust-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.rs | 2 |
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 } |
