]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/issue-19498.rs
Sync portable-simd to rust-lang/portable-simd@72df4c45056a8bc0d1b3f06fdc828722177f0763
[rust.git] / src / test / ui / imports / issue-19498.rs
1 use self::A;
2 use self::B;
3 mod A {} //~ ERROR the name `A` is defined multiple times
4 //~| `A` redefined here
5 pub mod B {} //~ ERROR the name `B` is defined multiple times
6 //~| `B` redefined here
7 mod C {
8     use C::D;
9     mod D {} //~ ERROR the name `D` is defined multiple times
10     //~| `D` redefined here
11 }
12
13 fn main() {}