summary refs log tree commit diff
path: root/src/test/compile-fail/for-loop-refutable-pattern-error-message.rs
AgeCommit message (Collapse)AuthorLines
2014-05-27syntax: desugar a `for` loop to a let binding to get better errorHuon Wilson-0/+16
messages when the pattern is refutable. This means the compiler points directly to the pattern and said that the problem is the pattern being refutable (rather than just saying that some value isn't covered in the `match` as it did previously). Fixes #14390.