diff options
| author | Kevin Ballard <kevin@sb.org> | 2014-08-25 14:55:00 -0700 |
|---|---|---|
| committer | Jakub Wieczorek <jakub@jakub.cc> | 2014-09-30 18:54:02 +0200 |
| commit | 976438f78fdce8092430f4c81ca272293c48f1a0 (patch) | |
| tree | 69c6449d655bf964fcaeda704d6058a35d06ca80 /src/rustllvm/RustWrapper.cpp | |
| parent | 1bc407fb8413b6e7f05a9d38b0d0a770e67dde5a (diff) | |
| download | rust-976438f78fdce8092430f4c81ca272293c48f1a0.tar.gz rust-976438f78fdce8092430f4c81ca272293c48f1a0.zip | |
Produce a better error for irrefutable `if let` patterns
Modify ast::ExprMatch to include a new value of type ast::MatchSource, making it easy to tell whether the match was written literally or produced via desugaring. This allows us to customize error messages appropriately.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
