mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 08:36:03 +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() {
|
|
}
|