Function rustc_query_impl::make_query::fn_abi_of_fn_ptr[][src]

pub fn fn_abi_of_fn_ptr<'tcx>(
    tcx: QueryCtxt<'tcx>,
    key: fn_abi_of_fn_ptr<'tcx>
) -> QueryStackFrame
Expand description

Compute a FnAbi suitable for indirect calls, i.e. to fn pointers.

NB: this doesn’t handle virtual calls - those should use fn_abi_of_instance instead, where the instance is an InstanceDef::Virtual.