2020-04-07 20:26:48 -05:00
|
|
|
error[E0152]: found duplicate lang item `owned_box`
|
2020-06-17 13:05:30 -05:00
|
|
|
--> $DIR/E0152.rs:5:1
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
2021-08-14 20:38:37 -05:00
|
|
|
LL | struct Foo<T>(T);
|
2022-02-13 09:27:59 -06:00
|
|
|
| ^^^^^^^^^^^^^
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
2020-01-22 17:57:38 -06:00
|
|
|
= note: the lang item is first defined in crate `alloc` (which `std` depends on)
|
2020-06-17 13:05:30 -05:00
|
|
|
= note: first definition in `alloc` loaded from SYSROOT/liballoc-*.rlib
|
2020-06-27 16:54:19 -05:00
|
|
|
= note: second definition in the local crate (`E0152`)
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0152`.
|