1 error[E0038]: the trait `Foo` cannot be made into an object
2 --> $DIR/object-safety-no-static.rs:8:1
4 LL | fn foo_implicit<T:Foo+'static>(b: Box<T>) -> Box<Foo+'static> {
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Foo` cannot be made into an object
7 = note: method `foo` has no receiver
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0038`.