2020-04-08 01:26:48 +00:00
|
|
|
error[E0152]: found duplicate lang item `owned_box`
|
2020-06-17 18:05:30 +00:00
|
|
|
--> $DIR/E0152.rs:5:1
|
2018-02-08 03:35:35 +00:00
|
|
|
|
|
2021-08-15 01:38:37 +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)
|
2020-06-17 18:05:30 +00:00
|
|
|
= note: first definition in `alloc` loaded from SYSROOT/liballoc-*.rlib
|
2020-06-27 21:54:19 +00:00
|
|
|
= note: second definition in the local crate (`E0152`)
|
2018-02-08 03:35:35 +00:00
|
|
|
|
2023-11-21 15:44:16 +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`.
|