1 error[E0252]: the name `Arc` is defined multiple times
2 --> $DIR/issue-26886.rs:12:5
4 11 | use std::sync::{self, Arc};
5 | --- previous import of the type `Arc` here
6 12 | use std::sync::Arc; //~ ERROR the name `Arc` is defined multiple times
7 | ^^^^^^^^^^^^^^ `Arc` reimported here
9 = note: `Arc` must be defined only once in the type namespace of this module
10 help: You can use `as` to change the binding name of the import
12 12 | use std::sync::Arc as OtherArc; //~ ERROR the name `Arc` is defined multiple times
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
15 error[E0252]: the name `sync` is defined multiple times
16 --> $DIR/issue-26886.rs:14:5
18 11 | use std::sync::{self, Arc};
19 | ---- previous import of the module `sync` here
21 14 | use std::sync; //~ ERROR the name `sync` is defined multiple times
22 | ^^^^^^^^^ `sync` reimported here
24 = note: `sync` must be defined only once in the type namespace of this module
25 help: You can use `as` to change the binding name of the import
27 14 | use std::sync as other_sync; //~ ERROR the name `sync` is defined multiple times
28 | ^^^^^^^^^^^^^^^^^^^^^^^
30 error: aborting due to 2 previous errors