]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type/type-recursive-box-shadowed.rs
Auto merge of #99443 - jam1garner:mips-virt-feature, r=nagisa
[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() {}