rust/tests/ui/use/use-nested-groups-error.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
190 B
Rust
Raw Normal View History

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