Tracking issue for rust-lang/rfcs#1445. Implementation steps: - [x] disable pattern expansion for user-defined types unless tagged with `#[structural_match]` - [x] disable pattern matching for floating point constants - [x] have `#[derive(Eq)]` add `#[structural_match]` attribute - [ ] exhaustiveness, dead-code integration - [ ] #62614, a bug that led us to rollback on #62411 . - [x] #63438: move from `#[structural_match]` attribute to something with impl items (e.g. a `Structural` trait)
Tracking issue for rust-lang/rfcs#1445.
Implementation steps:
#[structural_match]#[derive(Eq)]add#[structural_match]attributeindirect_structural_matchcompatibility lint #62411 .#[structural_match]attribute to something with impl items (e.g. aStructuraltrait)