rust/tests/ui/lint/issue-35075.rs
2023-01-11 09:32:08 +00: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() {}