rust/tests/ui/tool-attributes/duplicate-diagnostic.stderr

15 lines
396 B
Plaintext
Raw Normal View History

error: duplicate diagnostic item in crate `p2`: `Foo`.
|
= note: the diagnostic item is first defined in crate `p1`.
2023-02-26 04:29:25 -06:00
error: duplicate diagnostic item in crate `duplicate_diagnostic`: `Foo`.
--> $DIR/duplicate-diagnostic.rs:12:1
|
LL | pub struct Foo {}
| ^^^^^^^^^^^^^^
2023-02-26 04:29:25 -06:00
|
= note: the diagnostic item is first defined in crate `p2`.
error: aborting due to 2 previous errors