1 error[E0308]: mismatched types
2 --> $DIR/terr-in-field.rs:13:14
5 | -------- ^ expected struct `Foo`, found struct `Bar`
7 | arguments to this function are incorrect
9 note: function defined here
10 --> $DIR/terr-in-field.rs:11:4
12 LL | fn want_foo(f: Foo) {}
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0308`.