blob: 5e1149dba3a85b4199026d96a1b7e3e7eb06f207 [file] [edit]
use foo::bar::{
self,
Bar,
self
//~^ ERROR the name `bar` is defined multiple times
};
use {self};
//~^ ERROR imports need to be explicitly named
mod foo {
pub mod bar {
pub struct Bar;
pub struct Baz;
}
}
fn main() {}