diff options
| author | bors <bors@rust-lang.org> | 2023-09-21 22:59:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-09-21 22:59:13 +0000 |
| commit | 99b63d068b0be31b4d8a28f93921b5d14f13cdc0 (patch) | |
| tree | b48f1a6e153d430af0eda54b484ca55ef338ccd0 /compiler/rustc_codegen_gcc/src | |
| parent | b3aa8e7168a3d940122db3561289ffbf3f587262 (diff) | |
| parent | 85d61b01aea90d9201c35c4bd61a508c72807c92 (diff) | |
| download | rust-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
