// check-fail // known-bug: #80626 // This should pass, but it requires `Sized` to be coinductive. #![feature(generic_associated_types)] trait Allocator { type Allocated; } enum LinkedList { Head, Next(A::Allocated) } fn main() {}