about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2023-04-03 15:23:08 +0000
committerNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2023-04-03 15:25:06 +0000
commitca79b82c6cff632c98ed355e7d0f554ef8b5cc5d (patch)
tree8c72de4afd01f3cbf4ed0be8904c8426290631ad /compiler/rustc_interface/src
parentd0eed58a1e78eb1a25bb54076e4b0f7ea5ff7401 (diff)
downloadrust-ca79b82c6cff632c98ed355e7d0f554ef8b5cc5d.tar.gz
rust-ca79b82c6cff632c98ed355e7d0f554ef8b5cc5d.zip
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.
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions