Function rustc_infer::infer::canonical::substitute::substitute_value[][src]

pub(super) fn substitute_value<'tcx, T>(
    tcx: TyCtxt<'tcx>,
    var_values: &CanonicalVarValues<'tcx>,
    value: T
) -> T where
    T: TypeFoldable<'tcx>, 
Expand description

Substitute the values from var_values into value. var_values must be values for the set of canonical variables that appear in value.