]> git.lizzy.rs Git - rust.git/blob - tests/ui/imports/issue-26886.rs
Rollup merge of #107190 - fmease:fix-81698, r=compiler-errors
[rust.git] / tests / 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 }