rust/compiler
Dylan DPC 8a3ad4942c
Rollup merge of #97351 - b-naber:adt-const-params-structural-match-violation, r=michaelwoerister
Output correct type responsible for structural match violation

Previously we included the outermost type that caused a structural match violation in the error message and stated that that type must be annotated with `#[derive(Eq, PartialEq)]` even if it already had that annotation. This PR outputs the correct type in the error message.

Fixes https://github.com/rust-lang/rust/issues/97278
2022-05-25 17:37:21 +02:00
..
2022-05-12 18:31:42 +09:00
2022-05-23 22:51:34 +02:00
2022-05-23 14:07:40 +02:00
2022-05-19 09:02:50 -05:00