diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-04-08 21:25:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-08 21:25:59 +0200 |
| commit | b41e2bd807884180cb06bb971d7add2a5ed93b03 (patch) | |
| tree | 6d0f5658456db58313645cca62b835a4ac1e0934 /compiler/rustc_interface/src | |
| parent | df9796f20dd9a6cd983cbef739ec612c0582509a (diff) | |
| parent | d940038636c3694c896988c5cb035da4456a2cb0 (diff) | |
| download | rust-b41e2bd807884180cb06bb971d7add2a5ed93b03.tar.gz rust-b41e2bd807884180cb06bb971d7add2a5ed93b03.zip | |
Rollup merge of #139515 - compiler-errors:sig-mismatch, r=lcnr
Improve presentation of closure signature mismatch from `Fn` trait goal Flip the order of "expected" and "found" since that wasn't correct. Don't present the arguments as a tuple, since it leaves a trailing comma. Instead, just use `fn(arg, arg)`. Finally, be better with binders since we were just skipping binders. r? oli-obk or reassign
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
