Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow any integral to be used as Shr and Shl RHS
This is only relevant to the code that uses generics such as fn magic<T: Shl>(a: T) { a << 10u8; } Fixes #20288
- Loading branch information
Showing
1 changed file
with
60 additions
and
8 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
348d833
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 nikomatsakis
at nagisa@348d833
348d833
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 nagisa/rust/shrl-impls = 348d833 into auto
348d833
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.
status: {"merge_sha": "a6408fa1d80191032bebfa0047bc597b746886a5"}
348d833
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.
nagisa/rust/shrl-impls = 348d833 merged ok, testing candidate = a6408fa
348d833
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/3116
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/3109
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/3110
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/3101
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/3101
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/3104
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/3097
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/3092
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/2769
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/2767
success: http://buildbot.rust-lang.org/builders/auto-win-64-opt/builds/1605
success: http://buildbot.rust-lang.org/builders/auto-win-64-nopt-t/builds/1598
348d833
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 = a6408fa
348d833
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 = a6408fa