]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/issue-26886.rs
Sync portable-simd to rust-lang/portable-simd@72df4c45056a8bc0d1b3f06fdc828722177f0763
[rust.git] / src / test / ui / imports / issue-26886.rs
1 use std::sync::{self, Arc};
2 use std::sync::Arc; //~ ERROR the name `Arc` is defined multiple times
3                     //~| `Arc` must be defined only once in the type namespace of this module
4 use std::sync; //~ ERROR the name `sync` is defined multiple times
5                //~| `sync` must be defined only once in the type namespace of this module
6
7 fn main() {
8 }