Function translate_item_ref

Source
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.