clippy_utils::ty

Function is_must_use_ty

Source
pub fn is_must_use_ty<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -> bool