]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/suggestions/expected-boxed-future-isnt-pinned.stderr
Move misplaced comment
[rust.git] / src / test / ui / suggestions / expected-boxed-future-isnt-pinned.stderr
index ff08178cb74707584996ef6a0c45846f912e93ad..f0af37e0cbe8af7e47f7b276e0ceb804c04a9dcf 100644 (file)
@@ -15,7 +15,7 @@ LL |     Box::pin(x)
    |     +++++++++ +
 
 error[E0308]: mismatched types
-  --> $DIR/expected-boxed-future-isnt-pinned.rs:18:5
+  --> $DIR/expected-boxed-future-isnt-pinned.rs:15:5
    |
 LL | fn bar<F: Future<Output=i32> + Send + 'static>(x: F) -> BoxFuture<'static, i32> {
    |                                                         ----------------------- expected `Pin<Box<(dyn Future<Output = i32> + Send + 'static)>>` because of return type