]> git.lizzy.rs Git - rust.git/commit
auto merge of #16883 : jakub-/rust/issue-16648, r=pcwalton
authorbors <bors@rust-lang.org>
Thu, 4 Sep 2014 06:41:04 +0000 (06:41 +0000)
committerbors <bors@rust-lang.org>
Thu, 4 Sep 2014 06:41:04 +0000 (06:41 +0000)
commit5924937a5a6d59baabb4f3d94b1cf5b2bf2136eb
treeaf2745b8de79060cd9f1ccfb50132ff8a7e70fe6
parent1f49e02d1dd4cd4198ed658c7b36592c491f8563
parent6f35ede5a475c286066d8d88cb9a519be2133d0d
auto merge of #16883 : jakub-/rust/issue-16648, r=pcwalton

They were only correct in the simplest case. Some of the optimisations
are certainly possible but should be introduced carefully and only
when the whole pattern codegen infrastructure is in a better shape.

Fixes #16648.
src/librustc/middle/trans/_match.rs
src/librustc/middle/trans/adt.rs
src/librustc/middle/trans/base.rs