rustc: Eliminate a derived error in check::_match
auto merge of #8479 : catamorphism/rust/derived-errors, r=catamorphism

r? @graydon or @bblum, whoever gets there first