]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-26886.stderr
Use `summary_opts()` in another spot
[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    |     ^^^^^^^^^^^^^^ `Arc` reimported here
8    |
9    = note: `Arc` must be defined only once in the type namespace of this module
10
11 error[E0252]: the name `sync` is defined multiple times
12   --> $DIR/issue-26886.rs:4:5
13    |
14 LL | use std::sync::{self, Arc};
15    |                 ---- previous import of the module `sync` here
16 ...
17 LL | use std::sync;
18    |     ^^^^^^^^^ `sync` reimported here
19    |
20    = note: `sync` must be defined only once in the type namespace of this module
21
22 error: aborting due to 2 previous errors
23
24 For more information about this error, try `rustc --explain E0252`.