]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/generator/type-mismatch-signature-deduction.stderr
Check opaque types satisfy their bounds
[rust.git] / src / test / ui / generator / type-mismatch-signature-deduction.stderr
index 260fbb2ec7e6af34251716efebcbde13d86dae74..8f6f87f78de707e5d1d998b06d20f1f8085262c0 100644 (file)
@@ -15,7 +15,6 @@ LL | fn foo() -> impl Generator<Return = i32> {
    |
    = note: expected enum `std::result::Result<{integer}, _>`
               found type `i32`
-   = note: the return type of a function must have a statically known size
 
 error: aborting due to 2 previous errors