Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/layout/tests.rs')
| -rw-r--r-- | crates/hir-ty/src/layout/tests.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/hir-ty/src/layout/tests.rs b/crates/hir-ty/src/layout/tests.rs index 0b5d9df0c1..1a90a46715 100644 --- a/crates/hir-ty/src/layout/tests.rs +++ b/crates/hir-ty/src/layout/tests.rs @@ -233,7 +233,8 @@ fn associated_types() { } struct Foo<A: Tr>(<A as Tr>::Ty); - struct Goal(Foo<i32>); + struct Bar<A: Tr>(A::Ty); + struct Goal(Foo<i32>, Bar<i32>, <i32 as Tr>::Ty); } check_size_and_align( r#" |