mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-11 17:37:41 +00:00
![]() 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 |
||
---|---|---|
.. | ||
error_reporting | ||
errors | ||
solve | ||
traits | ||
errors.rs | ||
infer.rs | ||
lib.rs | ||
opaque_types.rs | ||
regions.rs | ||
solve.rs |