error[E0308]: mismatched types --> $DIR/trait-bounds-cant-coerce.rs:24:7 | 24 | a(x); //~ ERROR mismatched types [E0308] | ^ expected trait `Foo + std::marker::Send`, found trait `Foo` | = note: expected type `std::boxed::Box` found type `std::boxed::Box` error: aborting due to previous error