rust/tests/ui/lint/issue-35075.rs

10 lines
177 B
Rust
Raw Normal View History

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