diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-02-02 23:06:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-02 23:06:55 +0100 |
| commit | dc4d38740e914d9abb045e33c0fc08df43b8cdbc (patch) | |
| tree | 2ef98ebfb40f84713d6adcf48e904bd339f3ca7d /compiler/rustc_interface/src/errors.rs | |
| parent | 5ab356fde8f9e607f009f2e30774ae90582b3bb3 (diff) | |
| parent | 9ebbba4ad92ad800d5029fdae34f53aa1e57df5a (diff) | |
| download | rust-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
