mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
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;
|
|
}
|