Introduce a match-expression node
dtolnay opened this issue · comments
David Tolnay commented
The Enum::match_variant
method currently panics with unimplemented!()
. It needs to emit a match
expression with one arm for each enum variant in the receiver.