blob: 4fd7862781bfbc8950f7bed04ebbc94e2ea38c56 [file] [log] [blame]
enum Foo { Voo(Option<Option<Foo>>) }
//~^ ERROR recursive type `Foo` has infinite size
impl Foo { fn bar(&self) {} }
fn main() { }