]> git.proxmox.com Git - rustc.git/blob - src/test/ui/mismatched_types/trait-bounds-cant-coerce.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / mismatched_types / trait-bounds-cant-coerce.stderr
1 error[E0308]: mismatched types
2 --> $DIR/trait-bounds-cant-coerce.rs:13:7
3 |
4 LL | a(x);
5 | ^ expected trait `Foo + std::marker::Send`, found trait `Foo`
6 |
7 = note: expected struct `std::boxed::Box<(dyn Foo + std::marker::Send + 'static)>`
8 found struct `std::boxed::Box<(dyn Foo + 'static)>`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.