rust/tests/ui/resolve/issue-26545.rs
2023-01-11 09:32:08 +00:00

13 lines
198 B
Rust

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() {}