futuretest/cargo.out

18 regels
526 B
Plaintext

2017-12-09 12:58:25 -06:00
Compiling futuretest v0.1.0 (file:///mnt/c/Users/Mahmoud/git/futuretest)
2017-12-13 09:34:46 -06:00
error[E0277]: the trait bound `(): futures::Future` is not satisfied
--> src/main.rs:17:1
2017-12-09 12:58:25 -06:00
|
2017-12-13 09:34:46 -06:00
17 | / fn test() -> MapErr<(), ()> {
18 | | future::ok(())
19 | | .map_err(|String| ())
20 | | }
| |_^ the trait `futures::Future` is not implemented for `()`
2017-12-09 12:58:25 -06:00
|
2017-12-13 09:34:46 -06:00
= note: required by `futures::MapErr`
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.