rust/tests/ui/use/use-nested-groups-error.rs
2023-01-11 09:32:08 +00:00

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;
}