Skip to content

Commit 7fcbc83

Browse files
committed
Update ui test suite to nightly-2023-08-29
1 parent f07c856 commit 7fcbc83

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

tests/ui/consider-restricting.stderr

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ error: future cannot be sent between threads safely
44
16 | async fn publish<T: IntoUrl>(&self, url: T) {}
55
| ^^ future created by async block is not `Send`
66
|
7-
= note: consider using `std::sync::Arc<T>`; for more information visit <https://doc.rust-lang.org/book/ch16-03-shared-state.html>
87
note: captured value is not `Send`
98
--> tests/ui/consider-restricting.rs:16:41
109
|
@@ -22,7 +21,6 @@ error: future cannot be sent between threads safely
2221
23 | async fn publish<T>(&self, url: T) {}
2322
| ^^ future created by async block is not `Send`
2423
|
25-
= note: consider using `std::sync::Arc<T>`; for more information visit <https://doc.rust-lang.org/book/ch16-03-shared-state.html>
2624
note: captured value is not `Send`
2725
--> tests/ui/consider-restricting.rs:23:32
2826
|

tests/ui/send-not-implemented.stderr

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ error: future cannot be sent between threads safely
1010
| |_____^ future created by async block is not `Send`
1111
|
1212
= help: within `[async block@$DIR/tests/ui/send-not-implemented.rs:8:26: 12:6]`, the trait `Send` is not implemented for `MutexGuard<'_, ()>`
13-
= note: consider using `std::sync::Arc<MutexGuard<'_, ()>>`; for more information visit <https://doc.rust-lang.org/book/ch16-03-shared-state.html>
1413
note: future is not `Send` as this value is used across an await
1514
--> tests/ui/send-not-implemented.rs:11:13
1615
|
@@ -35,7 +34,6 @@ error: future cannot be sent between threads safely
3534
| |_____^ future created by async block is not `Send`
3635
|
3736
= help: within `[async block@$DIR/tests/ui/send-not-implemented.rs:14:38: 19:6]`, the trait `Send` is not implemented for `MutexGuard<'_, ()>`
38-
= note: consider using `std::sync::Arc<MutexGuard<'_, ()>>`; for more information visit <https://doc.rust-lang.org/book/ch16-03-shared-state.html>
3937
note: future is not `Send` as this value is used across an await
4038
--> tests/ui/send-not-implemented.rs:17:13
4139
|

0 commit comments

Comments
 (0)