Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Never consider int and float vars for FnPtr candidates #109896

Commits on Apr 3, 2023

  1. 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.
    Noratrieb committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    ca79b82 View commit details
    Browse the repository at this point in the history