rust/compiler/rustc_trait_selection
Matthias Krüger b41e2bd807
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
2025-04-08 21:25:59 +02:00
..
src Rollup merge of #139515 - compiler-errors:sig-mismatch, r=lcnr 2025-04-08 21:25:59 +02:00
Cargo.toml Revert "Use workspace lints for crates in compiler/ #138084" 2025-03-10 18:12:47 +08:00
messages.ftl move check_opaque_type_parameter_valid 2025-04-03 11:13:10 +02:00