Function rustc_query_impl::make_query::upstream_monomorphizations_for[][src]

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

Returns the set of upstream monomorphizations available for the generic function identified by the given def_id. The query makes sure to make a stable selection if the same monomorphization is available in multiple upstream crates.

You likely want to call Instance::upstream_monomorphization() instead of invoking this query directly.