Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
0718259
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from cmr
at lilyball@0718259
0718259
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging kballard/rust/tuple_dotdot_match_ice = 0718259 into auto
0718259
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kballard/rust/tuple_dotdot_match_ice = 0718259 merged ok, testing candidate = c329a1f
0718259
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/5915
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/5913
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/5009
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/5017
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/6012
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/5101
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/5109
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/6015
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/5100
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/5106
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/5168
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/2901
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/6008
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/5104
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/5119
0718259
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = c329a1f