]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/issue-26545.rs
Auto merge of #100395 - Dylan-DPC:rollup-ajrwo1s, r=Dylan-DPC
[rust.git] / src / test / 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() {}