rust/tests/ui/error-codes/E0152.stderr

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

14 lines
459 B
Plaintext
Raw Normal View History

error[E0152]: found duplicate lang item `owned_box`
--> $DIR/E0152.rs:5:1
2018-02-08 03:35:35 +00:00
|
LL | struct Foo<T>(T);
2023-11-23 04:45:42 +00:00
| ^^^^^^^^^^^^^^^^^
2018-02-08 03:35:35 +00:00
|
2020-01-22 23:57:38 +00:00
= note: the lang item is first defined in crate `alloc` (which `std` depends on)
= note: first definition in `alloc` loaded from SYSROOT/liballoc-*.rlib
= note: second definition in the local crate (`E0152`)
2018-02-08 03:35:35 +00:00
error: aborting due to 1 previous error
2018-02-08 03:35:35 +00:00
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0152`.