Lived Experiences: Strange match ergonomics

This has been "broken" since before 1.0. let x = y; already "radically differs" in owning vs borrowing based on whether y is a reference. All match ergonomics does is allow this sort of thing to pass through patterns, by eliding part of the structure of types (the part built out of references).

Your jab about "local reasoning" in compilers is also incredibly disingenuous. None of the local reasoning a compiler does is at all thwarted by match ergonomics.

1 Like