pub fn translate_item_ref<'tcx, S: UnderOwnerState<'tcx>>(
s: &S,
def_id: DefId,
generics: GenericArgsRef<'tcx>,
) -> ItemRef
Expand description
Translate a reference to an item, resolving the appropriate trait clauses as needed.
pub fn translate_item_ref<'tcx, S: UnderOwnerState<'tcx>>(
s: &S,
def_id: DefId,
generics: GenericArgsRef<'tcx>,
) -> ItemRef
Translate a reference to an item, resolving the appropriate trait clauses as needed.