Skip to content

Commit b922a50

Browse files
committed
Update ui tests to nightly-2020-09-05
1 parent 6695236 commit b922a50

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/ui/send-not-implemented.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ error: future cannot be sent between threads safely
99
12 | | }
1010
| |_____^ future returned by `__test` is not `Send`
1111
|
12-
= help: within `impl std::future::Future`, the trait `std::marker::Send` is not implemented for `std::sync::MutexGuard<'_, ()>`
12+
= help: within `impl Future`, the trait `Send` is not implemented for `MutexGuard<'_, ()>`
1313
note: future is not `Send` as this value is used across an await
1414
--> $DIR/send-not-implemented.rs:11:9
1515
|
1616
10 | let _guard = mutex.lock().unwrap();
17-
| ------ has type `std::sync::MutexGuard<'_, ()>` which is not `Send`
17+
| ------ has type `MutexGuard<'_, ()>` which is not `Send`
1818
11 | f().await;
1919
| ^^^^^^^^^ await occurs here, with `_guard` maybe used later
2020
12 | }
2121
| - `_guard` is later dropped here
22-
= note: required for the cast to the object type `dyn std::future::Future<Output = ()> + std::marker::Send`
22+
= note: required for the cast to the object type `dyn Future<Output = ()> + Send`

0 commit comments

Comments
 (0)