]> git.lizzy.rs Git - rust.git/commit
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)
commita34b8dec697014f15e725215e17ea8d956c0ab1a
treec0a34067e63f5fb5602926eedc82f453fa16335e
parent172b59abe510dde5826fec24377f208a19418c04
parent1484f9cd46013a227d1d057508ff57ebc5930a8d
auto merge of #18171 : jakub-/rust/match-typeck, r=pcwalton

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.
src/librustc/middle/typeck/check/mod.rs