2017-12-10 13:47:55 -06:00
|
|
|
error[E0252]: the name `Arc` is defined multiple times
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-26886.rs:2:5
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | use std::sync::{self, Arc};
|
2017-12-10 13:47:55 -06:00
|
|
|
| --- previous import of the type `Arc` here
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | use std::sync::Arc; //~ ERROR the name `Arc` is defined multiple times
|
2019-01-29 06:34:40 -06:00
|
|
|
| ----^^^^^^^^^^^^^^-
|
|
|
|
| | |
|
|
|
|
| | `Arc` reimported here
|
|
|
|
| help: remove unnecessary import
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
|
|
|
= note: `Arc` must be defined only once in the type namespace of this module
|
|
|
|
|
|
|
|
error[E0252]: the name `sync` is defined multiple times
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-26886.rs:4:5
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | use std::sync::{self, Arc};
|
2017-12-10 13:47:55 -06:00
|
|
|
| ---- previous import of the module `sync` here
|
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | use std::sync; //~ ERROR the name `sync` is defined multiple times
|
2019-01-29 06:34:40 -06:00
|
|
|
| ----^^^^^^^^^-
|
|
|
|
| | |
|
|
|
|
| | `sync` reimported here
|
|
|
|
| help: remove unnecessary import
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
|
|
|
= note: `sync` must be defined only once in the type namespace of this module
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0252`.
|