about summary refs log tree commit diff
path: root/src/test/run-pass/nested-patterns.rs
AgeCommit message (Collapse)AuthorLines
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