1 2 3 4 5 6 7 8 9
mod foo { pub struct A; pub struct B; } use foo::{A, B as A}; //~^ ERROR is defined multiple times fn main() {}