about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorJonathan Reem <jonathan.reem@gmail.com>2014-09-08 21:05:32 -0700
committerJonathan Reem <jonathan.reem@gmail.com>2014-09-30 18:40:07 -0700
commit0cf60b6bb8fed2cad4407fdf86a49a7eebbd62e6 (patch)
treeea8d20b6fd0209a001afbb19e87daec888b5c955 /src/rustllvm/PassWrapper.cpp
parent88d1a22f76a774b2df3c904ceb54c86e58a859c3 (diff)
downloadrust-0cf60b6bb8fed2cad4407fdf86a49a7eebbd62e6.tar.gz
rust-0cf60b6bb8fed2cad4407fdf86a49a7eebbd62e6.zip
Bound Any with 'static
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.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions