about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-05-26 22:01:09 +1000
committerHuon Wilson <dbau.pp+github@gmail.com>2014-05-27 09:24:37 +1000
commitf2a137829e07505aaaa2be4ae97d6ecfb6ef6823 (patch)
treeedf00264307375720e7d501d6f273b5960b5c754 /src/rustllvm/RustWrapper.cpp
parent6ddd40d4368b1dbbc6bfa18d73d47beb05a55447 (diff)
downloadrust-f2a137829e07505aaaa2be4ae97d6ecfb6ef6823.tar.gz
rust-f2a137829e07505aaaa2be4ae97d6ecfb6ef6823.zip
syntax: desugar a `for` loop to a let binding to get better error
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.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions