Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
structs-enums
/
enum-rec
/
issue-17431-7.rs
blob: 4fd7862781bfbc8950f7bed04ebbc94e2ea38c56 [
file
] [
log
] [
blame
] [
edit
]
enum
Foo
{
Voo
(
Option
<
Option
<
Foo
>>)
}
//~^ ERROR recursive type `Foo` has infinite size
impl
Foo
{
fn
bar
(&
self
)
{}
}
fn
main
()
{
}