LL | want_foo(b);
| ^ expected struct `Foo`, found struct `std::boxed::Box`
|
- = note: expected type `Foo`
- found type `std::boxed::Box<Foo>`
+ = note: expected struct `Foo`
+ found struct `std::boxed::Box<Foo>`
error: aborting due to previous error