]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/tests/ui/future_not_send.stderr
Auto merge of #71321 - matthewjasper:alloc-min-spec, r=sfackler
[rust.git] / src / tools / clippy / tests / ui / future_not_send.stderr
index 3b4968ef0a63c528c8060966465c349c55dc6b94..d1863701bfe7c14dd0cd0a161d3b224530b4343e 100644 (file)
@@ -96,13 +96,13 @@ LL |     }
    = note: `std::rc::Rc<[u8]>` doesn't implement `std::marker::Sync`
 
 error: future cannot be sent between threads safely
-  --> $DIR/future_not_send.rs:49:37
+  --> $DIR/future_not_send.rs:50:37
    |
 LL | async fn generic_future<T>(t: T) -> T
    |                                     ^ future returned by `generic_future` is not `Send`
    |
 note: future is not `Send` as this value is used across an await
-  --> $DIR/future_not_send.rs:54:5
+  --> $DIR/future_not_send.rs:55:5
    |
 LL |     let rt = &t;
    |         -- has type `&T` which is not `Send`
@@ -114,7 +114,7 @@ LL | }
    = note: `T` doesn't implement `std::marker::Sync`
 
 error: future cannot be sent between threads safely
-  --> $DIR/future_not_send.rs:65:34
+  --> $DIR/future_not_send.rs:66:34
    |
 LL | async fn unclear_future<T>(t: T) {}
    |                                  ^