From 8046190e8f537407210fb87acbfe96d4084d58da Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Thu, 25 Nov 2021 13:48:26 +0100 Subject: support Self qualified as same trait --- tests/tests.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/tests.rs b/tests/tests.rs index e30b0ef..e3df519 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -35,6 +35,8 @@ fn it_works() { #[allow(clippy::type_complexity)] fn test10(&self) -> (Self::A, (Self::A, Self::B), Self::B); + fn test11(&self) -> ::A; + // fn test9(&self) -> &dyn Iterator; fn mut1(&mut self) -> Self::A; -- cgit v1.2.3