From 2268a220e4ba4ae6f45b564e5e88c2c62d22749d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Thu, 27 May 2021 16:52:15 +0300 Subject: Don't store supertraits in ItemTree --- crates/hir_def/src/item_tree/tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/hir_def/src/item_tree/tests.rs') diff --git a/crates/hir_def/src/item_tree/tests.rs b/crates/hir_def/src/item_tree/tests.rs index 20773aa69..b362add5c 100644 --- a/crates/hir_def/src/item_tree/tests.rs +++ b/crates/hir_def/src/item_tree/tests.rs @@ -180,7 +180,7 @@ trait Tr: SuperTrait + 'lifetime { _: (), ) -> (); - pub(self) trait Tr: SuperTrait + 'lifetime + pub(self) trait Tr where Self: SuperTrait, Self: 'lifetime @@ -350,7 +350,7 @@ trait Tr<'a, T: 'a>: Super {} pub(self) union Union<'a, T, const U: u8> { } - pub(self) trait Tr<'a, Self, T>: Super + pub(self) trait Tr<'a, Self, T> where Self: Super, T: 'a -- cgit v1.2.3