blob: a088f91554dfb6734adcde64d115bbb8624091a8 [file] [log] [blame]
mod foo {
pub struct Bx(());
}
mod bar {
use foo::Bx;
fn foo() {
Bx(());
//~^ ERROR expected function, tuple struct or tuple variant, found struct `Bx` [E0423]
}
}
mod baz {
fn foo() {
Bx(());
//~^ ERROR cannot find function, tuple struct or tuple variant `Bx` in this scope [E0425]
}
}
fn main() {}