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
453 B
Plaintext
Raw Normal View History

error[E0152]: found duplicate lang item `owned_box`
--> $DIR/E0152.rs:5:1
2018-02-07 21:35:35 -06: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)
= note: first definition in `alloc` loaded from SYSROOT/liballoc-*.rlib
= 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`.