rust/tests/ui/imports/issue-45829/issue-45829.rs
2023-01-11 09:32:08 +00:00

10 lines
122 B
Rust

mod foo {
pub struct A;
pub struct B;
}
use foo::{A, B as A};
//~^ ERROR is defined multiple times
fn main() {}