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
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-lifetime-bounds.rs
fn-item-type.rs
fn-item-type.stderr
fn-pointer-mismatch.rs
fn-pointer-mismatch.stderr
fn-ptr-trait-int-float-infer-var.rs
fn-ptr-trait.rs
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-impl-header-projections.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-3099.rs
issue-3099.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