blob: f3b72c5df7f70b2617ddbe530bf235ebf0204fe7 [file] [log] [blame] [edit]
struct A<T> {
//~^ ERROR recursive type `A` has infinite size
x: T,
y: A<A<T>>,
}
struct B {
z: A<usize>
}
fn main() {}