rust/tests/ui/lang-items/duplicate.stderr

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

14 lines
454 B
Plaintext
Raw Normal View History

2024-01-29 13:10:01 -06:00
error[E0152]: found duplicate lang item `sized`
--> $DIR/duplicate.rs:5:1
|
LL | trait Sized {}
| ^^^^^^^^^^^^^^
|
= note: the lang item is first defined in crate `core` (which `std` depends on)
= note: first definition in `core` loaded from SYSROOT/libcore-*.rlib
= note: second definition in the local crate (`duplicate`)
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0152`.