Procházet zdrojové kódy

Added cargo output

rust-46606
Mahmoud Al-Qudsi před 1 rokem
rodič
revize
d24521a5fb
1 změnil soubory, kde provedl 25 přidání a 0 odebrání
  1. 25
    0
      cargo.out

+ 25
- 0
cargo.out Zobrazit soubor

@@ -0,0 +1,25 @@
1
+   Compiling futuretest v0.1.0 (file:///mnt/c/Users/Mahmoud/git/futuretest)
2
+error[E0271]: type mismatch resolving `<futures::FutureResult<(), std::string::String> as futures::IntoFuture>::Error == &str`
3
+  --> src/main.rs:12:10
4
+   |
5
+12 |         .and_then(|_|
6
+   |          ^^^^^^^^ expected struct `std::string::String`, found &str
7
+   |
8
+   = note: expected type `std::string::String`
9
+              found type `&str`
10
+
11
+error[E0271]: type mismatch resolving `<futures::FutureResult<(), std::string::String> as futures::IntoFuture>::Error == &str`
12
+  --> src/main.rs:19:10
13
+   |
14
+19 |     core.run(f).unwrap();
15
+   |          ^^^ expected struct `std::string::String`, found &str
16
+   |
17
+   = note: expected type `std::string::String`
18
+              found type `&str`
19
+   = note: required because of the requirements on the impl of `futures::Future` for `futures::AndThen<futures::MapErr<futures::FutureResult<(), ()>, [closure@src/main.rs:11:18: 11:43]>, futures::FutureResult<(), std::string::String>, [closure@src/main.rs:12:19: 15:14]>`
20
+
21
+error: aborting due to 2 previous errors
22
+
23
+error: Could not compile `futuretest`.
24
+
25
+To learn more, run the command again with --verbose.

Načítá se…
Zrušit
Uložit