1error[E0308]: mismatched types
2  --> $DIR/trait-bounds-cant-coerce.rs:13:7
3   |
4LL |     a(x);
5   |       ^ expected trait `Foo + Send`, found trait `Foo`
6   |
7   = note: expected struct `Box<(dyn Foo + Send + 'static)>`
8              found struct `Box<(dyn Foo + 'static)>`
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0308`.
13