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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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