about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/structured_errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-02-12 18:04:10 +0100
committerGitHub <noreply@github.com>2024-02-12 18:04:10 +0100
commit8ec144d73835f4bcbe1666185e380637b542b1af (patch)
treec3ac0b829e6815c56385db69a14285431f589c64 /compiler/rustc_hir_analysis/src/structured_errors.rs
parent83056861260a10c9a5019f4da9646950475dea90 (diff)
parent9789e88cfe7f50ac46d04175e32df4329d75024e (diff)
downloadrust-8ec144d73835f4bcbe1666185e380637b542b1af.tar.gz
rust-8ec144d73835f4bcbe1666185e380637b542b1af.zip
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``
Diffstat (limited to 'compiler/rustc_hir_analysis/src/structured_errors.rs')
0 files changed, 0 insertions, 0 deletions