futuretest/cargo.out

26 lines
1.1 KiB
Plaintext

Compiling futuretest v0.1.0 (file:///mnt/d/GIT/futuretest)
error[E0308]: match arms have incompatible types
--> src/main.rs:28:13
2017-12-09 12:58:25 -06:00
|
28 | / match err {
29 | | ErrorCode::CanHandleWithAsync => async_error_handler()
30 | | .map_err(|_| ErrorCode::CannotHandle).wait(),
31 | | ErrorCode::CanHandleWithSync => future::result(sync_error_handler()),
32 | | ErrorCode::CannotHandle => future::err(ErrorCode::CannotHandle),
33 | | }
| |_____________^ expected enum `std::result::Result`, found struct `futures::FutureResult`
2017-12-09 12:58:25 -06:00
|
= note: expected type `std::result::Result<(), ErrorCode>`
found type `futures::FutureResult<(), ErrorCode>`
note: match arm with an incompatible type
--> src/main.rs:31:49
|
31 | ErrorCode::CanHandleWithSync => future::result(sync_error_handler()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2017-12-09 12:58:25 -06:00
2017-12-13 09:34:46 -06:00
error: aborting due to previous error
2017-12-09 12:58:25 -06:00
error: Could not compile `futuretest`.
To learn more, run the command again with --verbose.