Where possible, the error message includes the name of the crate that brought in the crate with duplicate lang items (which helps with debugging). This information is passed on from cstore using the `extern_crate` query.
11 lines
292 B
Text
11 lines
292 B
Text
error[E0152]: duplicate lang item found: `arc`.
|
|
--> $DIR/E0152.rs:4:1
|
|
|
|
|
LL | struct Foo;
|
|
| ^^^^^^^^^^^
|
|
|
|
|
= note: first defined in crate `alloc` (which `std` depends on).
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0152`.
|