blob: 1124969e6d0a48125d9ee70f1ccd47f7b1cc57f8 [file] [log] [blame]
enum Foo {
Foo_(Bar)
}
enum Bar {
//~^ ERROR recursive type `Bar` has infinite size
BarNone,
BarSome(Bar)
}
fn main() {
}