summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/issue-35075.rs
blob: 0e54131c24560a6663dd8c7f3c73e27a7c7e818e (plain)
1
2
3
4
5
6
7
8
9
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() {}