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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-main.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dyn-fn-alignment.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr-fn-panic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-bad-block-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-bad-block-type.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-closure-mutable-capture.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-closure-mutable-capture.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-compare-mismatch.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-recover-return-sign2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-recover-return-sign.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-recover-return-sign.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-recover-return-sign.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-trait-formatting.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-trait-formatting.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
fun-call-variants.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
implied-bounds-unnorm-associated-type-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
implied-bounds-unnorm-associated-type-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
implied-bounds-unnorm-associated-type-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
implied-bounds-unnorm-associated-type-4.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
implied-bounds-unnorm-associated-type-4.stderr Tweak E0597 2023-01-15 19:46:20 +00:00
implied-bounds-unnorm-associated-type-5.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
implied-bounds-unnorm-associated-type-5.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
implied-bounds-unnorm-associated-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
implied-bounds-unnorm-associated-type.stderr Tweak E0597 2023-01-15 19:46:20 +00:00
issue-3044.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-80179.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-order.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-order.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested-function-names-issue-8587.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-return-closure.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-return-future.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-return-future.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00