Commit 5fb7fdb
authored
Rollup merge of #136414 - estebank:expected-return-type, r=oli-obk
Shorten error message for callable with wrong return type
```
error: expected `{closure@...}` to return `Ret`, but it returns `Other`
```
instead of
```
error: expected `{closure@...}` to be a closure that returns `Ret`, but it returns `Other`
```File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments