fn generic_param_def_as_bound_arg(param: &GenericParamDef) -> BoundVariableKind
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.