Function rustc_hir_analysis::hir_trait_to_predicates
source · pub fn hir_trait_to_predicates<'tcx>(
tcx: TyCtxt<'tcx>,
hir_trait: &TraitRef<'_>,
self_ty: Ty<'tcx>
) -> Bounds<'tcx>
pub fn hir_trait_to_predicates<'tcx>(
tcx: TyCtxt<'tcx>,
hir_trait: &TraitRef<'_>,
self_ty: Ty<'tcx>
) -> Bounds<'tcx>