rust/compiler/rustc_trait_selection/src
Nilstrieb ca79b82c6c Never consider int and float vars for FnPtr candidates
This solves a regression where `0.0.cmp()` was ambiguous when a custom
trait with a `cmp` method was in scope.

FOr integers it shouldn't be a problem in practice so I wasn't able to
add a test.
2023-04-03 15:25:06 +00:00
..
solve Auto merge of #109762 - scottmcm:variantdef-indexvec, r=WaffleLapkin 2023-03-31 03:36:18 +00:00
traits Never consider int and float vars for FnPtr candidates 2023-04-03 15:25:06 +00:00
errors.rs errors: generate typed identifiers in each crate 2023-02-22 09:15:53 +00:00
infer.rs remove some trait solver helpers 2023-03-21 09:57:20 +01:00
lib.rs Simplify message paths 2023-03-11 22:51:57 +01:00