Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
type
/
type-recursive-box-shadowed.rs
blob: e141c2149ffea54fec419abc699dea58196554ff [
file
] [
log
] [
blame
]
//FIXME(compiler-errors): This fixup should suggest the full box path, not just `Box`
struct
Box
<
T
>
{
t
:
T
,
}
struct
Foo
{
//~^ ERROR recursive type `Foo` has infinite size
inner
:
Foo
,
}
fn
main
()
{}