# Function rustc_hir_analysis::outlives::implicit_infer::insert_required_predicates_to_be_wf

source ·

    fn insert_required_predicates_to_be_wf<'tcx>(
        tcx: TyCtxt<'tcx>,
        ty: Ty<'tcx>,
        span: Span,
        global_inferred_outlives: &FxIndexMap<DefId, EarlyBinder<BTreeMap<OutlivesPredicate<GenericArg<'tcx>, Region<'tcx>>, Span>>>,
        required_predicates: &mut BTreeMap<OutlivesPredicate<GenericArg<'tcx>, Region<'tcx>>, Span>,
        explicit_map: &mut ExplicitPredicatesMap<'tcx>
    )