rust/src/test/ui/issues/issue-35075.rs
2018-12-25 21:08:33 -07:00

10 lines
177 B
Rust

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() {}