16 lines
190 B
Rust
16 lines
190 B
Rust
|
mod a {
|
||
|
pub mod b1 {
|
||
|
pub enum C2 {}
|
||
|
}
|
||
|
|
||
|
pub enum B2 {}
|
||
|
}
|
||
|
|
||
|
use a::{b1::{C1, C2}, B2};
|
||
|
//~^ ERROR unresolved import `a::b1::C1`
|
||
|
|
||
|
fn main() {
|
||
|
let _: C2;
|
||
|
let _: B2;
|
||
|
}
|