Removed unnecessary method in test
auto merge of #15427 : aochagavia/rust/parse, r=pcwalton
Add lint for catch-all match patterns