1 error[E0308]: mismatched types
2 --> $DIR/terr-sorts.rs:10:14
5 | -------- ^ expected struct `Foo`, found struct `Box`
7 | arguments to this function are incorrect
9 = note: expected struct `Foo`
10 found struct `Box<Foo>`
11 note: function defined here
12 --> $DIR/terr-sorts.rs:8:4
14 LL | fn want_foo(f: Foo) {}
16 help: consider unboxing the value
21 error: aborting due to previous error
23 For more information about this error, try `rustc --explain E0308`.