rust/tests/ui/fn
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
..
bad-main.rs
bad-main.stderr
dyn-fn-alignment.rs
expr-fn-panic.rs
expr-fn.rs
fn-bad-block-type.rs
fn-bad-block-type.stderr
fn-closure-mutable-capture.rs
fn-closure-mutable-capture.stderr
fn-compare-mismatch.rs
fn-compare-mismatch.stderr
fn-item-type.rs
fn-item-type.stderr
fn-pointer-mismatch.rs
fn-pointer-mismatch.stderr
fn-ptr-trait-int-float-infer-var.rs Never consider int and float vars for FnPtr candidates 2023-04-03 15:25:06 +00:00
fn-ptr-trait.rs Add a builtin FnPtr trait 2023-03-27 12:16:54 +00:00
fn-recover-return-sign2.rs
fn-recover-return-sign2.stderr
fn-recover-return-sign.fixed
fn-recover-return-sign.rs
fn-recover-return-sign.stderr
fn-trait-formatting.rs
fn-trait-formatting.stderr
fun-call-variants.rs
implied-bounds-unnorm-associated-type-2.rs
implied-bounds-unnorm-associated-type-2.stderr
implied-bounds-unnorm-associated-type-3.rs
implied-bounds-unnorm-associated-type-4.rs
implied-bounds-unnorm-associated-type-4.stderr
implied-bounds-unnorm-associated-type-5.rs
implied-bounds-unnorm-associated-type-5.stderr
implied-bounds-unnorm-associated-type.rs
implied-bounds-unnorm-associated-type.stderr
issue-3044.rs
issue-3044.stderr
issue-3904.rs
issue-39259.rs
issue-39259.stderr
issue-80179.rs
issue-80179.stderr
keyword-order.rs
keyword-order.stderr
nested-function-names-issue-8587.rs
signature-error-reporting-under-verbose.rs
signature-error-reporting-under-verbose.stderr
suggest-return-closure.rs
suggest-return-closure.stderr
suggest-return-future.rs
suggest-return-future.stderr