mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +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() {
|
|
}
|