about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2014-08-25 14:55:00 -0700
committerJakub Wieczorek <jakub@jakub.cc>2014-09-30 18:54:02 +0200
commit976438f78fdce8092430f4c81ca272293c48f1a0 (patch)
tree69c6449d655bf964fcaeda704d6058a35d06ca80 /src/rustllvm/RustWrapper.cpp
parent1bc407fb8413b6e7f05a9d38b0d0a770e67dde5a (diff)
downloadrust-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