about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-09-21 22:59:13 +0000
committerbors <bors@rust-lang.org>2023-09-21 22:59:13 +0000
commit99b63d068b0be31b4d8a28f93921b5d14f13cdc0 (patch)
treeb48f1a6e153d430af0eda54b484ca55ef338ccd0 /compiler/rustc_codegen_gcc/src
parentb3aa8e7168a3d940122db3561289ffbf3f587262 (diff)
parent85d61b01aea90d9201c35c4bd61a508c72807c92 (diff)
downloadrust-99b63d068b0be31b4d8a28f93921b5d14f13cdc0.tar.gz
rust-99b63d068b0be31b4d8a28f93921b5d14f13cdc0.zip
Auto merge of #115897 - eduardosm:check-fn-sig, r=compiler-errors
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.

This is the first time I do anything with rustc_hir_analysis/rustc_hir_typeck, so comments and suggestions about things I did wrong or that could be improved will be appreciated.
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
0 files changed, 0 insertions, 0 deletions