From 19dcb405cd4cfb960f51edbc1446e0a843772d6b Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Tue, 23 Nov 2021 06:00:26 +0100 Subject: support tuples --- tests/tests.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/tests.rs b/tests/tests.rs index 1bff07f..e30b0ef 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -31,6 +31,10 @@ fn it_works() { // also support Result type aliases with a fixed error type fn test8(&self) -> some::module::Result; + fn test9(&self) -> (Self::A, Self::B); + #[allow(clippy::type_complexity)] + fn test10(&self) -> (Self::A, (Self::A, Self::B), Self::B); + // fn test9(&self) -> &dyn Iterator; fn mut1(&mut self) -> Self::A; -- cgit v1.2.3