Rollup merge of #120944 - compiler-errors:inliner-abi, r=oli-obk

Check that the ABI of the instance we are inlining is correct

When computing the `CallSite` in the mir inliner, double check that the instance of the function that we are inlining is compatible with the signature from the trait definition that we acquire from the MIR.

Fixes #120940

r? ``@oli-obk`` or ``@cjgillot``
This commit is contained in:
Matthias Krüger 2024-02-12 18:04:10 +01:00 committed by GitHub
commit 71844a1379
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

Diff content is not available