fn generic_param_def_as_bound_arg<'tcx>(
param: &GenericParamDef,
) -> BoundVariableKind<'tcx>Expand description
Turn a ty::GenericParamDef into a bound arg. Generally, this should only
be used when turning early-bound vars into late-bound vars when lowering
return type notation.