From 03bf1ceeb9e015fb8a3aca88e49b33b73158f0d4 Mon Sep 17 00:00:00 2001 From: Marcus Klaas Date: Sun, 27 Mar 2016 13:07:28 +0200 Subject: Fix tuple destructuring in impl fns --- tests/source/impls.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/source/impls.rs') 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 Foo for Bar where T: Foo -- cgit 1.4.1-3-g733a5