rust/tests/ui/imports/issue-26886.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
805 B
Plaintext
Raw Normal View History

error[E0252]: the name `Arc` is defined multiple times
2018-12-25 08:56:47 -07:00
--> $DIR/issue-26886.rs:2:5
|
2018-02-23 03:42:32 +03:00
LL | use std::sync::{self, Arc};
| --- previous import of the type `Arc` here
2019-03-09 15:03:44 +03:00
LL | use std::sync::Arc;
2019-03-10 20:05:01 -07:00
| ^^^^^^^^^^^^^^ `Arc` reimported here
|
= 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 08:56:47 -07:00
--> $DIR/issue-26886.rs:4:5
|
2018-02-23 03:42:32 +03:00
LL | use std::sync::{self, Arc};
| ---- previous import of the module `sync` here
...
2019-03-09 15:03:44 +03:00
LL | use std::sync;
2019-03-10 20:05:01 -07:00
| ^^^^^^^^^ `sync` reimported here
|
= note: `sync` must be defined only once in the type namespace of this module
error: aborting due to 2 previous errors
2018-03-03 15:59:40 +01:00
For more information about this error, try `rustc --explain E0252`.