pub(crate) fn substs_to_args<'tcx>(
    cx: &mut DocContext<'tcx>,
    substs: Binder<'tcx, &'tcx [GenericArg<'tcx>]>,
    skip_first: bool,
    container: Option<DefId>
) -> Vec<GenericArg>