summary refs log tree commit diff
path: root/src/test/run-pass/guards.rs
AgeCommit message (Collapse)AuthorLines
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-2/+2
2012-08-05Switch alts to use arrowsBrian Anderson-4/+4
2012-01-09Change all uses of 'when' in alt-patterns to 'if'Austin Seipp-3/+3
Issue #1396
2011-09-02Reformat. Issue #855Brian Anderson-13/+10
2011-08-22Implement pattern guardsMarijn Haverbeke-0/+16
The syntax is alt x { mypat where mycond { ... } } The condition may refer to any of the variables bound by the pattern. When a guard fails, pattern-matching continues with the next pattern. Closes #857