1 2 3 4 5 6 7 8 9
struct Bar<T> { inner: Foo<T> //~ ERROR cannot find type `Foo` in this scope } enum Baz<T> { Foo(Foo<T>) //~ ERROR cannot find type `Foo` in this scope } fn main() {}