Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
6d71251cf9e40326461f90f8ff9a7024706aea87
/
.
/
tests
/
ui
/
sized-cycle-note.rs
blob: 766a5fa0de3dc6f0fb4de3c79d6a5471f40277cf [
file
] [
log
] [
blame
]
struct
Baz
{
q
:
Option
<
Foo
>
}
//~^ ERROR recursive types `Baz` and `Foo` have infinite size
struct
Foo
{
q
:
Option
<
Baz
>
}
impl
Foo
{
fn
bar
(&
self
)
{}
}
fn
main
()
{}