Skip to content

Commit

Permalink
Update ui test suite to nightly-2023-08-29
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Aug 29, 2023
1 parent f07c856 commit 7fcbc83
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions tests/ui/consider-restricting.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ error: future cannot be sent between threads safely
16 | async fn publish<T: IntoUrl>(&self, url: T) {}
| ^^ future created by async block is not `Send`
|
= note: consider using `std::sync::Arc<T>`; for more information visit <https://doc.rust-lang.org/book/ch16-03-shared-state.html>
note: captured value is not `Send`
--> tests/ui/consider-restricting.rs:16:41
|
Expand All @@ -22,7 +21,6 @@ error: future cannot be sent between threads safely
23 | async fn publish<T>(&self, url: T) {}
| ^^ future created by async block is not `Send`
|
= note: consider using `std::sync::Arc<T>`; for more information visit <https://doc.rust-lang.org/book/ch16-03-shared-state.html>
note: captured value is not `Send`
--> tests/ui/consider-restricting.rs:23:32
|
Expand Down
2 changes: 0 additions & 2 deletions tests/ui/send-not-implemented.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ error: future cannot be sent between threads safely
| |_____^ future created by async block is not `Send`
|
= help: within `[async block@$DIR/tests/ui/send-not-implemented.rs:8:26: 12:6]`, the trait `Send` is not implemented for `MutexGuard<'_, ()>`
= note: consider using `std::sync::Arc<MutexGuard<'_, ()>>`; for more information visit <https://doc.rust-lang.org/book/ch16-03-shared-state.html>
note: future is not `Send` as this value is used across an await
--> tests/ui/send-not-implemented.rs:11:13
|
Expand All @@ -35,7 +34,6 @@ error: future cannot be sent between threads safely
| |_____^ future created by async block is not `Send`
|
= help: within `[async block@$DIR/tests/ui/send-not-implemented.rs:14:38: 19:6]`, the trait `Send` is not implemented for `MutexGuard<'_, ()>`
= note: consider using `std::sync::Arc<MutexGuard<'_, ()>>`; for more information visit <https://doc.rust-lang.org/book/ch16-03-shared-state.html>
note: future is not `Send` as this value is used across an await
--> tests/ui/send-not-implemented.rs:17:13
|
Expand Down

0 comments on commit 7fcbc83

Please sign in to comment.