]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type/type-recursive-box-shadowed.rs
Merge commit 'b52fb5234cd7c11ecfae51897a6f7fa52e8777fc' into clippyup
[rust.git] / src / test / 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() {}