]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #18171 : jakub-/rust/match-typeck, r=pcwalton
authorbors <bors@rust-lang.org>
Sat, 25 Oct 2014 07:07:08 +0000 (07:07 +0000)
committerbors <bors@rust-lang.org>
Sat, 25 Oct 2014 07:07:08 +0000 (07:07 +0000)
Rather than doing it top-down, with a known expected type, we will now simply establish the appropriate constraints between the pattern and the expression it destructures.

Closes #8783.
Closes #10200.

1  2 
src/librustc/middle/typeck/check/mod.rs