mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
14 lines
262 B
Rust
14 lines
262 B
Rust
|
mod glob_ok {
|
||
|
pub mod something {
|
||
|
pub mod something_else {}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
mod single_err {}
|
||
|
|
||
|
use glob_ok::*; // glob_ok::something
|
||
|
use single_err::something; //~ ERROR unresolved import `single_err::something`
|
||
|
use something::something_else;
|
||
|
|
||
|
fn main() {}
|