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