Skip to content

Commit 7d8519d

Browse files
committed
Update ui test suite to nightly-2024-12-09
1 parent 00f9367 commit 7d8519d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ui/consider-restricting.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ note: captured value is not `Send`
1010
16 | async fn publish<T: IntoUrl>(&self, url: T) {}
1111
| ^^^ has type `T` which is not `Send`
1212
= 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)>>`
13-
help: consider further restricting this bound
13+
help: consider further restricting type parameter `T` with trait `Send`
1414
|
1515
16 | async fn publish<T: IntoUrl + std::marker::Send>(&self, url: T) {}
1616
| +++++++++++++++++++
@@ -27,7 +27,7 @@ note: captured value is not `Send`
2727
23 | async fn publish<T>(&self, url: T) {}
2828
| ^^^ has type `T` which is not `Send`
2929
= 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)>>`
30-
help: consider further restricting this bound
30+
help: consider further restricting type parameter `T` with trait `Send`
3131
|
3232
23 | async fn publish<T + std::marker::Send>(&self, url: T) {}
3333
| +++++++++++++++++++

0 commit comments

Comments
 (0)