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() {
|
|
}
|