error[E0308]: `?` operator has incompatible types --> test/binary/01-type-inference.rs:6:36 | 6 | let _: Message = port.tx_recv((0, HOME))?; | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `Message`, found `Message` | = note: `?` operator cannot convert from `Message` to `Message` = note: expected struct `Message` found struct `Message` error[E0308]: `?` operator has incompatible types --> test/binary/01-type-inference.rs:7:35 | 7 | let _: Message = port.tx_recv((0, untyped::HOME, 0i32))?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Message`, found `Message` | = note: `?` operator cannot convert from `Message` to `Message` = note: expected struct `Message` found struct `Message` error[E0308]: `?` operator has incompatible types --> test/binary/01-type-inference.rs:8:44 | 8 | let _: Message = port.tx_recv((0, RETURN_SETTING, RETURN_CURRENT_POSITION))?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Message`, found `Message` | = note: `?` operator cannot convert from `Message` to `Message` = note: expected struct `Message` found struct `Message` error[E0308]: `?` operator has incompatible types --> test/binary/01-type-inference.rs:9:44 | 9 | let _: Message = port.tx_recv((0, RETURN_SETTING, SET_TARGET_SPEED))?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Message`, found `Message` | = note: `?` operator cannot convert from `Message` to `Message` = note: expected struct `Message` found struct `Message`