rust/tests/ui/fn
Eduardo Sánchez Muñoz c599761140 rustc_hir_analysis: add a helper to check function the signature mismatches
This function is now used to check `#[panic_handler]`, `start` lang item, `main`, `#[start]` and intrinsic functions.

The diagnosis produced are now closer to the ones produced by trait/impl method signature mismatch.
2023-09-19 18:15:23 +02:00
..
bad-main.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-main.stderr rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02: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-lifetime-bounds.rs add known-bug test for unsound issue 84533 2023-04-22 00:47:07 -04: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 Test and note unsafe ctor to fn ptr coercion 2023-08-30 15:09:40 -07: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-impl-header-projections.rs add known-bug test for unsound issue 100051 2023-04-22 13:41:53 -04: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-3099.rs Move tests 2023-05-08 17:58:01 -03:00
issue-3099.stderr Move tests 2023-05-08 17:58:01 -03: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 Add explanatory note to 'expected item' error 2023-09-06 09:05:07 +05:30
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 Test and note unsafe ctor to fn ptr coercion 2023-08-30 15:09:40 -07:00
signature-error-reporting-under-verbose.stderr Test and note unsafe ctor to fn ptr coercion 2023-08-30 15:09:40 -07: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