Function clippy_utils::ty::is_normalizable
source ยท pub fn is_normalizable<'tcx>(
cx: &LateContext<'tcx>,
param_env: ParamEnv<'tcx>,
ty: Ty<'tcx>,
) -> bool
Expand description
Checks if Ty
is normalizable. This function is useful
to avoid crashes on layout_of
.