about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-02-02 23:06:55 +0100
committerGitHub <noreply@github.com>2025-02-02 23:06:55 +0100
commitdc4d38740e914d9abb045e33c0fc08df43b8cdbc (patch)
tree2ef98ebfb40f84713d6adcf48e904bd339f3ca7d /compiler/rustc_interface/src/errors.rs
parent5ab356fde8f9e607f009f2e30774ae90582b3bb3 (diff)
parent9ebbba4ad92ad800d5029fdae34f53aa1e57df5a (diff)
downloadrust-dc4d38740e914d9abb045e33c0fc08df43b8cdbc.tar.gz
rust-dc4d38740e914d9abb045e33c0fc08df43b8cdbc.zip
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`
```
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions