]> git.lizzy.rs Git - rust.git/blob - tests/ui/generic-associated-types/bugs/issue-80626.rs
Auto merge of #105102 - compiler-errors:copy-impl-considering-regions, r=lcnr
[rust.git] / tests / ui / generic-associated-types / bugs / issue-80626.rs
1 // check-pass
2
3 trait Allocator {
4     type Allocated<T>;
5 }
6
7 enum LinkedList<A: Allocator> {
8     Head,
9     Next(A::Allocated<Self>),
10 }
11
12 fn main() {}