Skip to content

Commit

Permalink
Update ui test suite to nightly-2024-12-09
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Dec 9, 2024
1 parent 00f9367 commit 7d8519d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ui/consider-restricting.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ note: captured value is not `Send`
16 | async fn publish<T: IntoUrl>(&self, url: T) {}
| ^^^ has type `T` which is not `Send`
= note: required for the cast from `Pin<Box<{async block@$DIR/tests/ui/consider-restricting.rs:16:49: 16:51}>>` to `Pin<Box<(dyn Future<Output = ()> + Send + 'async_trait)>>`
help: consider further restricting this bound
help: consider further restricting type parameter `T` with trait `Send`
|
16 | async fn publish<T: IntoUrl + std::marker::Send>(&self, url: T) {}
| +++++++++++++++++++
Expand All @@ -27,7 +27,7 @@ note: captured value is not `Send`
23 | async fn publish<T>(&self, url: T) {}
| ^^^ has type `T` which is not `Send`
= note: required for the cast from `Pin<Box<{async block@$DIR/tests/ui/consider-restricting.rs:23:40: 23:42}>>` to `Pin<Box<(dyn Future<Output = ()> + Send + 'async_trait)>>`
help: consider further restricting this bound
help: consider further restricting type parameter `T` with trait `Send`
|
23 | async fn publish<T + std::marker::Send>(&self, url: T) {}
| +++++++++++++++++++

0 comments on commit 7d8519d

Please sign in to comment.