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 improve fn pointer notes 2023-01-26 05:07:34 +00:00
fn-item-type.rs Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
fn-item-type.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
fn-pointer-mismatch.rs Add suggestions for function pointers 2023-01-24 14:02:56 -05:00
fn-pointer-mismatch.stderr Make structured suggestion for fn casting verbose 2023-01-30 21:55:25 +00:00
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 Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
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 diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
issue-3904.rs
issue-39259.rs feat: implement better error for manual impl of Fn* traits 2023-03-10 20:32:24 +13:00
issue-39259.stderr feat: implement better error for manual impl of Fn* traits 2023-03-10 20:32:24 +13:00
issue-80179.rs
issue-80179.stderr
keyword-order.rs
keyword-order.stderr
nested-function-names-issue-8587.rs
signature-error-reporting-under-verbose.rs Mention fn coercion rules (needs to be expanded) 2023-01-30 21:51:33 +00:00
signature-error-reporting-under-verbose.stderr Mention fn coercion rules (needs to be expanded) 2023-01-30 21:51:33 +00:00
suggest-return-closure.rs
suggest-return-closure.stderr
suggest-return-future.rs
suggest-return-future.stderr