Skip to main content

ty_has_param_const

Function ty_has_param_const 

Source
pub(crate) fn ty_has_param_const(ty: Ty<'_>) -> bool
Expand description

True when a type transitively contains a const-generic parameter or an associated type alias (which may be layout-ambiguous).