clippy_utils::ty

Function has_debug_impl

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

This checks whether a given type is known to implement Debug.