clippy_utils::ty

Function is_uninit_value_valid_for_ty_fallback

source
fn is_uninit_value_valid_for_ty_fallback<'tcx>(
    cx: &LateContext<'tcx>,
    ty: Ty<'tcx>,
) -> bool
Expand description

A fallback for polymorphic types, which are not supported by check_validity_requirement.