luaur_analysis/methods/cannot_infer_binary_operation_operator_eq.rs
1use crate::records::cannot_infer_binary_operation::CannotInferBinaryOperation;
2
3impl CannotInferBinaryOperation {
4 #[inline]
5 pub fn operator_eq(&self, rhs: &CannotInferBinaryOperation) -> bool {
6 self.op == rhs.op
7 && self.suggested_to_annotate == rhs.suggested_to_annotate
8 && self.kind == rhs.kind
9 }
10}