about summary refs log tree commit diff
path: root/src/test/compile-fail/match-struct.rs
AgeCommit message (Collapse)AuthorLines
2013-02-28Fix reversed current/expected typeJeong YunWon-2/+1
Fix some reversed type of arm pattern and type of search pattern in error message.
2013-02-20Check type when struct is matched against enum-like patternSeo Sanghyeon-0/+11
Previously check always succeeded because struct type was derived from the matched expression, not the matched pattern.