]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-26886.stderr
Auto merge of #57018 - dcreager:redundant-linker, r=alexcrichton
[rust.git] / src / test / ui / issues / issue-26886.stderr
1 error[E0252]: the name `Arc` is defined multiple times
2   --> $DIR/issue-26886.rs:2:5
3    |
4 LL | use std::sync::{self, Arc};
5    |                       --- previous import of the type `Arc` here
6 LL | use std::sync::Arc;
7    | ----^^^^^^^^^^^^^^-
8    | |   |
9    | |   `Arc` reimported here
10    | help: remove unnecessary import
11    |
12    = note: `Arc` must be defined only once in the type namespace of this module
13
14 error[E0252]: the name `sync` is defined multiple times
15   --> $DIR/issue-26886.rs:4:5
16    |
17 LL | use std::sync::{self, Arc};
18    |                 ---- previous import of the module `sync` here
19 ...
20 LL | use std::sync;
21    | ----^^^^^^^^^-
22    | |   |
23    | |   `sync` reimported here
24    | help: remove unnecessary import
25    |
26    = note: `sync` must be defined only once in the type namespace of this module
27
28 error: aborting due to 2 previous errors
29
30 For more information about this error, try `rustc --explain E0252`.