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