]> git.lizzy.rs Git - rust.git/blob - src/test/ui/terr-in-field.stderr
Rollup merge of #106008 - uweigand:s390x-lintgroup-order, r=Nilstrieb
[rust.git] / src / test / ui / terr-in-field.stderr
1 error[E0308]: mismatched types
2   --> $DIR/terr-in-field.rs:13:14
3    |
4 LL |     want_foo(b);
5    |     -------- ^ expected struct `Foo`, found struct `Bar`
6    |     |
7    |     arguments to this function are incorrect
8    |
9 note: function defined here
10   --> $DIR/terr-in-field.rs:11:4
11    |
12 LL | fn want_foo(f: Foo) {}
13    |    ^^^^^^^^ ------
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0308`.