rust/tests/ui/resolve/crate-in-paths.rs
2024-02-16 20:02:50 +00:00

11 lines
142 B
Rust

//@ edition:2018
mod bar {
pub(crate) struct Foo;
}
fn main() {
Foo;
//~^ ERROR cannot find value `Foo` in this scope [E0425]
}