fn check_call_site_abi<'tcx>(
tcx: TyCtxt<'tcx>,
callee: Ty<'tcx>,
caller: InstanceKind<'tcx>,
loc: impl Fn() -> (Span, HirId) + Copy,
)Expand description
Check the ABI at a call site, emitting an error when:
- a non-rustic ABI uses unsized parameters
- the signature requires target features that are not enabled