struct Bar { inner: Foo //~ ERROR cannot find type `Foo` in this scope } enum Baz { Foo(Foo) //~ ERROR cannot find type `Foo` in this scope } fn main() {}