summary refs log tree commit diff
path: root/src/test/run-pass/nested-patterns.rs
AgeCommit message (Collapse)AuthorLines
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-1/+1
2012-08-05Switch alts to use arrowsBrian Anderson-2/+2
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-2/+2
2011-12-08Allow binding of nested patternsMarijn Haverbeke-0/+12
See src/test/run-pass/nested-patterns.rs for some examples. The syntax is boundvar@subpattern Which will match the subpattern as usual, but also bind boundvar to the whole matched value. Closes #838