rust/compiler/rustc_trait_selection/src/error_reporting
Matthias Krüger dc4d38740e
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`
```
2025-02-02 23:06:55 +01:00
..
infer Rollup merge of #136415 - estebank:highlight-clarification, r=compiler-errors 2025-02-02 18:05:24 +01:00
traits Rollup merge of #136414 - estebank:expected-return-type, r=oli-obk 2025-02-02 23:06:55 +01:00
mod.rs Swap Vec<PredicateObligation> to type alias 2024-10-12 15:17:08 +01:00