diff options
author | Martin Fischer <martin@push-f.com> | 2021-11-23 06:00:26 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-11-23 06:43:22 +0100 |
commit | 19dcb405cd4cfb960f51edbc1446e0a843772d6b (patch) | |
tree | fbd4a80460a20faea6975ae51939f463b612a6e3 /tests/tests.rs | |
parent | b4acbbf52be85595cf8dcb839217fc4e2958328e (diff) |
support tuples
Diffstat (limited to 'tests/tests.rs')
-rw-r--r-- | tests/tests.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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<Self::A>; + 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<Item = Self::A>; fn mut1(&mut self) -> Self::A; |