Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This bound is already implicit through the AnyPrivate trait, but since it is not explicit, you still have to write Box<Any + 'static>, even though Any can only be 'static. Introducing the 'static bound here makes this bound explicit, making Box<Any> legal.
- Loading branch information
0cf60b6
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 reem@0cf60b6
0cf60b6
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 reem/rust/any-static-bound = 0cf60b6 into auto
0cf60b6
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.
reem/rust/any-static-bound = 0cf60b6 merged ok, testing candidate = fe93a54
0cf60b6
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/1604
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/1601
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/1595
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/1601
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/1598
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/1597
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/1597
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/1601
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/1595
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/1594
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1597
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/1252
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/1250
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/1254
success: http://buildbot.rust-lang.org/builders/auto-win-64-opt/builds/87
success: http://buildbot.rust-lang.org/builders/auto-win-64-nopt-t/builds/85
success: http://buildbot.rust-lang.org/builders/auto-win-64-nopt-c/builds/85
0cf60b6
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 = fe93a54