summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-7607-1.rs
blob: 5221f2c529bc691928dbde0d7967d54195b493e6 (plain)
1
2
3
4
5
6
7
8
9
struct Foo {
    x: isize
}

impl Fo { //~ ERROR cannot find type `Fo` in this scope
    fn foo() {}
}

fn main() {}