]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/issue-35075.rs
Auto merge of #98120 - TaKO8Ki:box-diagnostic-metadata-field, r=estebank
[rust.git] / src / test / ui / lint / issue-35075.rs
1 struct Bar<T> {
2     inner: Foo<T> //~ ERROR cannot find type `Foo` in this scope
3 }
4
5 enum Baz<T> {
6     Foo(Foo<T>) //~ ERROR cannot find type `Foo` in this scope
7 }
8
9 fn main() {}