Find why main cannot construct the public Product type through this path.
Rust
mod store {
mod catalog {
pub struct Product;
}
}
fn main() {
let _item = store::catalog::Product;
}
mod store {
mod catalog {
pub struct Product;
}
}
fn main() {
let _item = store::catalog::Product;
}