You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
= 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`
@@ -27,7 +27,7 @@ note: captured value is not `Send`
27
27
23 | async fn publish<T>(&self, url: T) {}
28
28
| ^^^ has type `T` which is not `Send`
29
29
= 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`
0 commit comments