blob: 134fa884e3c33bc09b90a7496420f63554714765 [file] [log] [blame] [edit]
//@ edition:2015
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() {}