]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/issue-26886.rs
Add 'src/tools/rustfmt/' from commit '7872306edf2e11a69aaffb9434088fd66b46a863'
[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 }