]> git.lizzy.rs Git - rust.git/blob - tests/ui/type/type-recursive-box-shadowed.rs
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / ui / type / type-recursive-box-shadowed.rs
1 //FIXME(compiler-errors): This fixup should suggest the full box path, not just `Box`
2
3 struct Box<T> {
4     t: T,
5 }
6
7 struct Foo {
8     //~^ ERROR recursive type `Foo` has infinite size
9     inner: Foo,
10 }
11
12 fn main() {}