rust/tests/ui/resolve/issue-26545.rs
2025-11-27 11:19:00 -05:00

13 lines
215 B
Rust

//@ edition:2015
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() {}