Skip to main content

is_eq_call

Function is_eq_call 

Source
pub(crate) fn is_eq_call(tcx: TyCtxt<'_>, func: &Operand<'_>) -> bool
Expand description

Whether func is a call to PartialEq::eq (the equality comparison), determined from its DefId rather than by string-matching the callee path.