pub fn substitute<'tcx, T>(
tcx: TyCtxt<'tcx>,
typing_env: TypingEnv<'tcx>,
args: Option<GenericArgsRef<'tcx>>,
x: T,
) -> Twhere
T: TypeFoldable<TyCtxt<'tcx>>,Expand description
Instantiate this value with the provided args. Use None if the args are known to be the
identity args.