rust/tests/ui/imports/issue-45829/rename-use-with-tabs.rs

13 lines
162 B
Rust
Raw Normal View History

mod foo {
pub struct A;
pub mod bar {
pub struct B;
}
}
use foo::{A, bar::B as A};
2018-11-27 03:56:36 -06:00
//~^ ERROR is defined multiple times
fn main() {}