]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-26545.rs
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / ui / resolve / issue-26545.rs
1 mod foo {
2     pub struct B(pub ());
3 }
4
5 mod baz {
6     fn foo() {
7         B(());
8         //~^ ERROR cannot find function, tuple struct or tuple variant `B` in this scope [E0425]
9     }
10 }
11
12 fn main() {}