about summary refs log tree commit diff
path: root/tests/ui/panic-handler/panic-handler-bad-signature-5.rs
AgeCommit message (Collapse)AuthorLines
2023-09-19rustc_hir_analysis: add a helper to check function the signature mismatchesEduardo Sánchez Muñoz-0/+13
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.