Skip to content

Commit 8737173

Browse files
committed
Update ui test suite to nightly-2023-09-24
1 parent 5ba643c commit 8737173

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

tests/ui/send-not-implemented.stderr

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ note: future is not `Send` as this value is used across an await
1717
| ------ has type `MutexGuard<'_, ()>` which is not `Send`
1818
11 | f().await;
1919
| ^^^^^ await occurs here, with `_guard` maybe used later
20-
12 | }
21-
| - `_guard` is later dropped here
22-
= note: required for the cast from `Pin<Box<{async block@$DIR/tests/ui/send-not-implemented.rs:8:26: 12:6}>>` to `Pin<Box<(dyn Future<Output = ()> + Send + 'async_trait)>>`
20+
= note: required for the cast from `Pin<Box<{async block@$DIR/tests/ui/send-not-implemented.rs:8:26: 12:6}>>` to `Pin<Box<dyn Future<Output = ()> + Send>>`
2321

2422
error: future cannot be sent between threads safely
2523
--> tests/ui/send-not-implemented.rs:14:38
@@ -41,7 +39,4 @@ note: future is not `Send` as this value is used across an await
4139
| ------ has type `MutexGuard<'_, ()>` which is not `Send`
4240
17 | f().await;
4341
| ^^^^^ await occurs here, with `_guard` maybe used later
44-
18 | true
45-
19 | }
46-
| - `_guard` is later dropped here
47-
= note: required for the cast from `Pin<Box<{async block@$DIR/tests/ui/send-not-implemented.rs:14:38: 19:6}>>` to `Pin<Box<(dyn Future<Output = bool> + Send + 'async_trait)>>`
42+
= note: required for the cast from `Pin<Box<{async block@$DIR/tests/ui/send-not-implemented.rs:14:38: 19:6}>>` to `Pin<Box<dyn Future<Output = bool> + Send>>`

0 commit comments

Comments
 (0)