// check-pass trait Allocator { type Allocated; } enum LinkedList { Head, Next(A::Allocated), } fn main() {}