-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When `specialize`ing struct-like enum patterns, compare struct fields to pattern fields, not pattern fields to pattern fields. Closes #8351.
- Loading branch information
Showing
1 changed file
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
da7f411
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 alexcrichton
at https://github.com/dim-an/rust/commit/da7f41104dda48ac3a03cfa039cb3e9570f91a35
da7f411
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 dim-an/rust/fix-match = da7f411 into auto
da7f411
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.
dim-an/rust/fix-match = da7f411 merged ok, testing candidate = 1320999
da7f411
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/1878
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/1882
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/988
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/987
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/1896
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/988
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/988
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/1897
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/988
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/988
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/1068
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/1881
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/987
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/988
success: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/1666
da7f411
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 = 1320999