Hide internal stuff in check_match.rs
Add tests for issue 8351
Fix bug in match checking

When `specialize`ing struct-like enum patterns, compare struct fields to
pattern fields, not pattern fields to pattern fields.

Closes #8351.
rm special case for ty_struct from take glue

This is incorrect, as take glue isn't used for moves.
stop zeroing the drop flag in drop glue

this is only going to cover up real bugs, as it's not part of the model
used to prevent multiple destructor calls
auto merge of #9751 : thestinger/rust/immediate, r=alexcrichton

This is incorrect, as take glue isn't used for moves.
auto merge of #9747 : dim-an/rust/fix-match, r=alexcrichton

When `specialize`ing struct-like enum patterns, compare struct fields to
pattern fields, not pattern fields to pattern fields.

Closes #8351.
support for GNU configure syntax