]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coercion/coerce-block-tail-57749.stderr
Auto merge of #102458 - JohnTitor:stabilize-instruction-set, r=oli-obk
[rust.git] / src / test / ui / coercion / coerce-block-tail-57749.stderr
1 error[E0308]: mismatched types
2   --> $DIR/coerce-block-tail-57749.rs:33:14
3    |
4 LL |     reset(&{ Homura });
5    |              ^^^^^^ expected `u32`, found struct `Homura`
6    |
7 help: consider dereferencing the type
8    |
9 LL |     reset(&{ *Homura });
10    |              +
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0308`.