rust/src/comp/middle
Marijn Haverbeke 86ee3454a1 Implement or-patterns in case clauses
You can now say

    expr_move(?dst, ?src) | expr_assign(?dst, ?src) { ... }

to match both expr_move and expr_assign. The names, types, and number
of bound names have to match in all the patterns.

Closes #449.
2011-07-11 11:01:54 +02:00
..
tstate Propagate constraints through copy, move, and swap 2011-07-08 22:25:57 -07:00
alias.rs Implement or-patterns in case clauses 2011-07-11 11:01:54 +02:00
ast_map.rs Move everything syntax-related to syntax/, break deps on rest of compiler 2011-07-05 15:57:21 +02:00
resolve.rs Implement or-patterns in case clauses 2011-07-11 11:01:54 +02:00
trans.rs Implement or-patterns in case clauses 2011-07-11 11:01:54 +02:00
ty.rs Improve impossible-case handling in ty::get_element_type 2011-07-08 22:25:57 -07:00
typeck.rs Implement or-patterns in case clauses 2011-07-11 11:01:54 +02:00