mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-19 11:07:32 +00:00
![]() 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` ``` |
||
---|---|---|
.. | ||
error_reporting | ||
errors | ||
solve | ||
traits | ||
errors.rs | ||
infer.rs | ||
lib.rs | ||
regions.rs | ||
solve.rs |