diff options
| author | Marcus Klaas <mail@marcusklaas.nl> | 2016-03-27 13:07:28 +0200 |
|---|---|---|
| committer | Marcus Klaas <mail@marcusklaas.nl> | 2016-03-27 13:07:28 +0200 |
| commit | 03bf1ceeb9e015fb8a3aca88e49b33b73158f0d4 (patch) | |
| tree | 0f1cb3aab943d26750d4c3c89a862bccdd45ffa8 /tests/source | |
| parent | 8fd95df54ab5de3dddfd47d8ae9fc52fea803844 (diff) | |
Fix tuple destructuring in impl fns
Diffstat (limited to 'tests/source')
| -rw-r--r-- | tests/source/impls.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/source/impls.rs b/tests/source/impls.rs index a3a8033b07f..e96baa91473 100644 --- a/tests/source/impls.rs +++ b/tests/source/impls.rs @@ -73,6 +73,12 @@ impl X { fn do_parse( mut self : X ) {} } impl Y5000 { fn bar(self: X< 'a , 'b >, y: Y) {} + + fn bad(&self, ( x, y): CoorT) {} + + fn turbo_bad(self: X< 'a , 'b > , ( x, y): CoorT) { + + } } pub impl<T> Foo for Bar<T> where T: Foo |
