From 005530355cd7d9e4d393591b49267281d4fa41c9 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Sun, 10 Dec 2017 15:53:33 -0600 Subject: [PATCH] Corrected error output --- cargo.out | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/cargo.out b/cargo.out index 1f5d6f4..51b91c0 100644 --- a/cargo.out +++ b/cargo.out @@ -1,9 +1,13 @@ Compiling futuretest v0.1.0 (file:///mnt/d/GIT/futuretest) -error[E0554]: #![feature] may not be used on the stable release channel - --> src/main.rs:1:1 - | -1 | #![feature(conservative_impl_trait)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +error[E0271]: type mismatch resolving `, ()> as futures::Future>::Item == ()` + --> src/main.rs:17:23 + | +17 | fn create_future() -> impl Future { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found () + | + = note: expected type `std::result::Result<(), _>` + found type `()` + = note: the return type of a function must have a statically known size error: aborting due to previous error