diff options
author | Laurențiu Nicola <[email protected]> | 2021-05-27 14:52:15 +0100 |
---|---|---|
committer | Laurențiu Nicola <[email protected]> | 2021-05-27 14:52:30 +0100 |
commit | 2268a220e4ba4ae6f45b564e5e88c2c62d22749d (patch) | |
tree | 0e77f330f8fee0353893f5ca4d49e8b9bb6f7f63 /crates/hir_def/src/item_tree/tests.rs | |
parent | d0a4ba294ccf0c925a5ff1115c19a60c6a24b734 (diff) |
Don't store supertraits in ItemTree
Diffstat (limited to 'crates/hir_def/src/item_tree/tests.rs')
-rw-r--r-- | crates/hir_def/src/item_tree/tests.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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 { | |||
180 | _: (), | 180 | _: (), |
181 | ) -> (); | 181 | ) -> (); |
182 | 182 | ||
183 | pub(self) trait Tr<Self>: SuperTrait + 'lifetime | 183 | pub(self) trait Tr<Self> |
184 | where | 184 | where |
185 | Self: SuperTrait, | 185 | Self: SuperTrait, |
186 | Self: 'lifetime | 186 | Self: 'lifetime |
@@ -350,7 +350,7 @@ trait Tr<'a, T: 'a>: Super {} | |||
350 | pub(self) union Union<'a, T, const U: u8> { | 350 | pub(self) union Union<'a, T, const U: u8> { |
351 | } | 351 | } |
352 | 352 | ||
353 | pub(self) trait Tr<'a, Self, T>: Super | 353 | pub(self) trait Tr<'a, Self, T> |
354 | where | 354 | where |
355 | Self: Super, | 355 | Self: Super, |
356 | T: 'a | 356 | T: 'a |