summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/issue-26545.rs
blob: 5652ee747060597bec4dea336d00d71103d82f88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
mod foo {
    pub struct B(pub ());
}

mod baz {
    fn foo() {
        B(());
        //~^ ERROR cannot find function, tuple struct or tuple variant `B` in this scope [E0425]
    }
}

fn main() {}