mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
16 lines
157 B
Rust
16 lines
157 B
Rust
#![allow(non_camel_case_types)]
|
|
|
|
use foo::baz;
|
|
use bar::baz; //~ ERROR E0252
|
|
|
|
mod foo {
|
|
pub struct baz;
|
|
}
|
|
|
|
mod bar {
|
|
pub mod baz {}
|
|
}
|
|
|
|
fn main() {
|
|
}
|