about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2014-05-20 19:18:20 -0700
committerKevin Ballard <kevin@sb.org>2014-05-20 19:52:43 -0700
commit0718259ae05e661c7f62bac6a02c6cba80d3f1f9 (patch)
tree0abcd808933067e0cfe4c70aff09a1959578017c /src/rustllvm/RustWrapper.cpp
parentd5b5aa4d4a11a15bab4dbb31e029a807cb1d4ad3 (diff)
downloadrust-0718259ae05e661c7f62bac6a02c6cba80d3f1f9.tar.gz
rust-0718259ae05e661c7f62bac6a02c6cba80d3f1f9.zip
Fix LLVM error with tuple struct match using (..)
Consider PatEnums constructed with A(..) to be candidates for tuple
struct patterns, not just ones constructed with A(a,b,c). If these
patterns shouldn't be valid tuple struct patterns (as they're equivalent
to _), this needs to be caught before we get to trans.

Fixes #14308.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions