]> git.lizzy.rs Git - rust.git/commit
Improve code reuse between trans/_match.rs and check_match.rs
authorJakub Wieczorek <jakub@jakub.cc>
Sat, 21 Jun 2014 12:56:23 +0000 (14:56 +0200)
committerJakub Wieczorek <jakub@jakub.cc>
Thu, 3 Jul 2014 07:17:47 +0000 (09:17 +0200)
commit6b6edf4702be1a3c984e894cfb568b63ca224a26
tree56c6065fdf81d3f9ceb49effcf59b383a3c86d6f
parente6c54a12c4d209de9f438b4722657ca381f969a2
Improve code reuse between trans/_match.rs and check_match.rs

The specialization logic for patterns is really the same in both
exhaustiveness/reachability checking and codegen.
src/doc/rust.md
src/librustc/middle/check_match.rs
src/librustc/middle/lang_items.rs
src/librustc/middle/trans/_match.rs