]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/block-result/issue-20862.stderr
Rollup merge of #95353 - jyn514:invalid-filter-hard-error, r=Mark-Simulacrum
[rust.git] / src / test / ui / block-result / issue-20862.stderr
index 09c06e8428d20bbd67229239cdc9600dfe7b2814..e9ca0ad9029e6e0bdb69f9dbbd4a84c3e00453a2 100644 (file)
@@ -2,7 +2,7 @@ error[E0308]: mismatched types
   --> $DIR/issue-20862.rs:2:5
    |
 LL | fn foo(x: i32) {
-   |                - possibly return type missing here?
+   |                - help: a return type might be missing here: `-> _`
 LL |     |y| x + y
    |     ^^^^^^^^^ expected `()`, found closure
    |