]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/async-await/issue-70818.stderr
Check opaque types satisfy their bounds
[rust.git] / src / test / ui / async-await / issue-70818.stderr
index 364194bea100e914c2d285a3a68a22976699d1f2..20ee22e448c91970672efbb2780dd4423b796a76 100644 (file)
@@ -12,7 +12,6 @@ note: captured value is not `Send`
    |
 LL |     async { (ty, ty1) }
    |                  ^^^ has type `U` which is not `Send`
-   = note: the return type of a function must have a statically known size
 help: consider restricting type parameter `U`
    |
 LL | fn foo<T: Send, U: Send>(ty: T, ty1: U) -> impl Future<Output = (T, U)> + Send {