summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/crate-in-paths.rs
blob: 7ebd259189d6d8f236546f0757c148d88c8a3345 (plain)
1
2
3
4
5
6
7
8
9
10
// edition:2018

mod bar {
    pub(crate) struct Foo;
}

fn main() {
    Foo;
    //~^ ERROR cannot find value `Foo` in this scope [E0425]
}