830 |
#[test]
|
831 |
#[allow(clippy::eq_op)]
|
832 |
pub fn must_calculate_offset_map() {
|
467 |
#[test]
|
468 |
#[allow(clippy::eq_op)]
|
469 |
pub fn must_compute() {
|
814 |
#[test]
|
815 |
#[allow(clippy::eq_op)]
|
816 |
pub fn must_calculate_offset_map() {
|
469 |
#[test]
|
470 |
#[allow(clippy::eq_op)]
|
471 |
pub fn must_compute() {
|
383 |
#[test_case]
|
384 |
#[allow(clippy::eq_op)]
|
385 |
fn trivial_test(_gba: &mut Gba) {
|
510 |
#[test]
|
511 |
#[allow(clippy::eq_op)]
|
512 |
fn uref_equality_is_pointer_equality() {
|
524 |
#[test]
|
525 |
#[allow(clippy::eq_op)]
|
526 |
fn pending_uref_equality_is_pointer_equality() {
|
365 |
#[cfg(debug_assertions)]
|
366 |
#[allow(clippy::eq_op, clippy::zero_divided_by_zero)]
|
367 |
fn nan_transform() {
|
220 |
#[allow(clippy::eq_op)]
|
221 |
fn test_equal(lhs: &ArrayData, rhs: &ArrayData, expected: bool) {
|
31 |
pub(crate) fn is_nan<T: ArrowNativeType + PartialOrd + Copy>(a: T) -> bool {
|
32 |
#[allow(clippy::eq_op)]
|
33 |
!(a == a)
|
21 |
#[allow(clippy::eq_op)]
|
22 |
#[test]
|
6 |
#[allow(clippy::eq_op)]
|
7 |
#[test]
|
6 |
#[allow(clippy::eq_op)]
|
7 |
#[test]
|
6 |
#[allow(clippy::eq_op)]
|
7 |
#[test]
|
7 |
#[allow(clippy::eq_op)]
|
8 |
#[test]
|
7 |
#[allow(clippy::eq_op)]
|
8 |
#[test]
|
6 |
#[allow(clippy::eq_op)]
|
7 |
#[test]
|
6 |
#[allow(clippy::eq_op)]
|
7 |
#[test]
|
6 |
#[allow(clippy::eq_op)]
|
7 |
#[test]
|
6 |
#[allow(clippy::eq_op)]
|
7 |
#[test]
|
833 |
#[test]
|
834 |
#[allow(clippy::eq_op)]
|
835 |
fn poly_sub() {
|
430 |
#[test]
|
431 |
#[allow(clippy::eq_op)]
|
432 |
fn div_references() {
|
775 |
#[test]
|
776 |
#[allow(clippy::eq_op)]
|
777 |
fn div_references() {
|
491 |
#[test]
|
492 |
#[allow(clippy::eq_op)]
|
493 |
fn div_references() {
|
942 |
#[test]
|
943 |
#[allow(clippy::eq_op)]
|
944 |
fn div_references() {
|
142 |
#[allow(clippy::eq_op)]
|
143 |
#[test]
|
189 |
#[allow(clippy::eq_op)]
|
190 |
#[test]
|
189 |
#[allow(clippy::eq_op)]
|
190 |
#[test]
|
662 |
#[allow(clippy::eq_op)]
|
663 |
let use_nan = missing != missing; // generic NAN test
|
677 |
for (iid_i, &v0) in column.iter().enumerate() {
|
678 |
#[allow(clippy::eq_op)]
|
679 |
let genotype_byte = if v0 == homozygous_primary_allele {
|
5589 |
// x != x is a generic nan check
|
5590 |
#[allow(clippy::eq_op)]
|
5591 |
let a_nan = *ptr_a != *ptr_a;
|
5592 |
#[allow(clippy::eq_op)]
|
5593 |
let b_nan = *ptr_b != *ptr_b;
|
1139 |
#[test]
|
1140 |
#[allow(clippy::eq_op)]
|
1141 |
fn test_affine_point_equality() {
|
1151 |
#[test]
|
1152 |
#[allow(clippy::eq_op)]
|
1153 |
fn test_projective_point_equality() {
|
1542 |
#[test]
|
1543 |
#[allow(clippy::eq_op)]
|
1544 |
fn test_projective_negation_and_subtraction() {
|
1277 |
#[test]
|
1278 |
#[allow(clippy::eq_op)]
|
1279 |
fn test_affine_point_equality() {
|
1289 |
#[test]
|
1290 |
#[allow(clippy::eq_op)]
|
1291 |
fn test_projective_point_equality() {
|
1806 |
#[test]
|
1807 |
#[allow(clippy::eq_op)]
|
1808 |
fn test_projective_negation_and_subtraction() {
|
1291 |
#[test]
|
1292 |
#[allow(clippy::eq_op)]
|
1293 |
fn test_affine_point_equality() {
|
1303 |
#[test]
|
1304 |
#[allow(clippy::eq_op)]
|
1305 |
fn test_projective_point_equality() {
|
1694 |
#[test]
|
1695 |
#[allow(clippy::eq_op)]
|
1696 |
fn test_projective_negation_and_subtraction() {
|
1455 |
#[test]
|
1456 |
#[allow(clippy::eq_op)]
|
1457 |
fn test_affine_point_equality() {
|
1467 |
#[test]
|
1468 |
#[allow(clippy::eq_op)]
|
1469 |
fn test_projective_point_equality() {
|
1984 |
#[test]
|
1985 |
#[allow(clippy::eq_op)]
|
1986 |
fn test_projective_negation_and_subtraction() {
|
128 |
#[test]
|
129 |
#[allow(clippy::eq_op)]
|
130 |
fn hash_rational() {
|
142 |
#[test]
|
143 |
#[allow(clippy::eq_op)]
|
144 |
fn hash_object() {
|
118 |
#[test]
|
119 |
#[allow(clippy::eq_op)]
|
120 |
fn hash_rational() {
|
132 |
#[test]
|
133 |
#[allow(clippy::eq_op)]
|
134 |
fn hash_object() {
|
299 |
#[allow(clippy::eq_op)]
|
300 |
#[test]
|
235 |
#[test]
|
236 |
#[allow(clippy::eq_op)]
|
237 |
fn co_create_instance_test() {
|
342 |
#[test]
|
343 |
#[allow(clippy::eq_op)]
|
344 |
fn substraction() {
|
363 |
#[test]
|
364 |
#[allow(clippy::eq_op)]
|
365 |
fn equality() {
|
374 |
#[test]
|
375 |
#[allow(clippy::eq_op)]
|
376 |
fn greater() {
|
393 |
#[test]
|
394 |
#[allow(clippy::eq_op)]
|
395 |
fn smaller() {
|
1065 |
#[test]
|
1066 |
#[allow(clippy::eq_op)]
|
1067 |
fn test_affine_point_equality() {
|
1077 |
#[test]
|
1078 |
#[allow(clippy::eq_op)]
|
1079 |
fn test_projective_point_equality() {
|
1468 |
#[test]
|
1469 |
#[allow(clippy::eq_op)]
|
1470 |
fn test_projective_negation_and_subtraction() {
|
1241 |
#[test]
|
1242 |
#[allow(clippy::eq_op)]
|
1243 |
fn test_affine_point_equality() {
|
1253 |
#[test]
|
1254 |
#[allow(clippy::eq_op)]
|
1255 |
fn test_projective_point_equality() {
|
1770 |
#[test]
|
1771 |
#[allow(clippy::eq_op)]
|
1772 |
fn test_projective_negation_and_subtraction() {
|
816 |
#[test]
|
817 |
#[allow(clippy::eq_op)]
|
818 |
fn ibc_timeout_block_ord() {
|
86 |
#[test]
|
87 |
#[allow(clippy::eq_op)]
|
88 |
fn one_value() {
|
219 |
#[test]
|
220 |
#[allow(clippy::eq_op)]
|
221 |
fn mul_commutes() {
|
115 |
#[test]
|
116 |
#[allow(clippy::eq_op)]
|
117 |
fn test_different_rings() {
|
362 |
#[test]
|
363 |
#[allow(clippy::eq_op)]
|
364 |
#[allow(clippy::zero_divided_by_zero)]
|
1843 |
#[test]
|
1844 |
#[allow(clippy::eq_op)]
|
1845 |
#[allow(clippy::float_cmp)]
|
1863 |
#[allow(clippy::cmp_nan)]
|
1864 |
#[allow(clippy::eq_op)]
|
1865 |
#[allow(clippy::float_cmp)]
|
1468 |
// FIXME: #[allow(clippy::eq_op)] in Rust 1.31
|
1469 |
#[cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints, eq_op))]
|
1470 |
{
|
131 |
#[allow(clippy::eq_op)]
|
132 |
#[test]
|
64 |
#[test]
|
65 |
#[allow(clippy::eq_op)]
|
66 |
fn partial_eq_pk() {
|
325 |
#[allow(clippy::eq_op)]
|
326 |
#[inline]
|
459 |
#[allow(clippy::eq_op)]
|
460 |
#[test]
|
471 |
#[allow(clippy::eq_op)]
|
472 |
#[test]
|
1566 |
#[test]
|
1567 |
#[allow(clippy::eq_op)]
|
1568 |
fn subtraction() {
|
1679 |
#[test]
|
1680 |
#[allow(clippy::eq_op)]
|
1681 |
fn subtraction() {
|
111 |
#[allow(clippy::eq_op)]
|
112 |
#[cfg(test)]
|
28 |
if ix < 0 {
|
29 |
#[allow(clippy::eq_op)] // This has special semantics and is not wrong.
|
30 |
return (x - x) / (x - x); /* sqrt(-ve) = sNaN */
|
112 |
#[test]
|
113 |
#[allow(clippy::eq_op)]
|
114 |
fn test_sub_same_n_frac_digits() {
|
117 |
#[test]
|
118 |
#[allow(clippy::eq_op)]
|
119 |
fn test_checked_sub() {
|
16 |
#[test]
|
17 |
#[allow(clippy::eq_op)] // Identical args are intentional.
|
18 |
fn test_partial_eq() {
|
164 |
#[test]
|
165 |
#[allow(clippy::eq_op)]
|
166 |
fn always_false_cmp() {
|
528 |
// We are asserting that `Eq` is implemented.
|
529 |
#[allow(clippy::eq_op)]
|
530 |
{
|
204 |
// We are asserting that `Eq` is implemented.
|
205 |
#[allow(clippy::eq_op)]
|
206 |
{
|
616 |
#[allow(clippy::eq_op)]
|
617 |
#[test]
|
616 |
#[test]
|
617 |
#[allow(clippy::eq_op, clippy::op_ref)]
|
618 |
fn ops() {
|
429 |
#[test]
|
430 |
#[allow(clippy::eq_op, clippy::op_ref)]
|
431 |
fn other() {
|
452 |
#[test]
|
453 |
#[allow(clippy::eq_op, clippy::op_ref)]
|
454 |
fn generic_other() {
|
477 |
#[test]
|
478 |
#[allow(clippy::eq_op, clippy::op_ref)]
|
479 |
fn generic_signed_other() {
|
68 |
#[test]
|
69 |
#[allow(clippy::eq_op)] // Need to compare `ProcessData` to itself.
|
70 |
fn process_data_equality() {
|
682 |
#[cfg(test)]
|
683 |
#[allow(clippy::eq_op)]
|
684 |
mod tests {
|
137 |
#[test]
|
138 |
#[allow(clippy::eq_op)]
|
139 |
fn test_header_name_static_non_static() {
|
122 |
#[test]
|
123 |
#[allow(clippy::eq_op)]
|
124 |
fn test_different_rings() {
|
1119 |
#[test]
|
1120 |
#[allow(clippy::eq_op)]
|
1121 |
fn test_affine_point_equality() {
|
1131 |
#[test]
|
1132 |
#[allow(clippy::eq_op)]
|
1133 |
fn test_projective_point_equality() {
|
1522 |
#[test]
|
1523 |
#[allow(clippy::eq_op)]
|
1524 |
fn test_projective_negation_and_subtraction() {
|
1257 |
#[test]
|
1258 |
#[allow(clippy::eq_op)]
|
1259 |
fn test_affine_point_equality() {
|
1269 |
#[test]
|
1270 |
#[allow(clippy::eq_op)]
|
1271 |
fn test_projective_point_equality() {
|
1786 |
#[test]
|
1787 |
#[allow(clippy::eq_op)]
|
1788 |
fn test_projective_negation_and_subtraction() {
|
3167 |
0 | 1 => {
|
3168 |
#[allow(clippy::eq_op)]
|
3169 |
const _: () = assert!(ImpliedAccess::Shift_Ib_MASK1FMOD9 as u32 - ImpliedAccess::Shift_Ib_MASK1FMOD9 as u32 == 0);
|
7 |
let obj = NSObject::new();
|
8 |
#[allow(clippy::eq_op)]
|
9 |
{
|
6 |
clippy::approx_constant,
|
7 |
clippy::eq_op,
|
8 |
clippy::excessive_precision,
|
1868 |
#[allow(clippy::eq_op)]
|
1869 |
{
|
1613 |
// FIXME: #[allow(clippy::eq_op)] in Rust 1.31
|
1614 |
#[cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints, eq_op))]
|
1615 |
{
|
1615 |
// FIXME: #[allow(clippy::eq_op)] in Rust 1.31
|
1616 |
#[cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints, eq_op))]
|
1617 |
{
|
1119 |
#[test]
|
1120 |
#[allow(clippy::eq_op)]
|
1121 |
fn test_affine_point_equality() {
|
1131 |
#[test]
|
1132 |
#[allow(clippy::eq_op)]
|
1133 |
fn test_projective_point_equality() {
|
1522 |
#[test]
|
1523 |
#[allow(clippy::eq_op)]
|
1524 |
fn test_projective_negation_and_subtraction() {
|
1257 |
#[test]
|
1258 |
#[allow(clippy::eq_op)]
|
1259 |
fn test_affine_point_equality() {
|
1269 |
#[test]
|
1270 |
#[allow(clippy::eq_op)]
|
1271 |
fn test_projective_point_equality() {
|
1786 |
#[test]
|
1787 |
#[allow(clippy::eq_op)]
|
1788 |
fn test_projective_negation_and_subtraction() {
|
254 |
#[test]
|
255 |
#[allow(clippy::eq_op)]
|
256 |
fn comparison_simple_int() {
|
280 |
/// it.
|
281 |
#[allow(clippy::eq_op, clippy::identity_op)]
|
282 |
pub(crate) static CHARACTER_CLASS: [u8; 256] = [
|
69 |
#[test]
|
70 |
#[allow(clippy::eq_op)]
|
71 |
fn test_ops_sub() {
|
169 |
#[test]
|
170 |
#[allow(clippy::eq_op)]
|
171 |
fn test_ops_div() {
|
177 |
// won't work with if/elseif/else
|
178 |
#[allow(clippy::eq_op)]
|
179 |
let r = when! {
|
1482 |
#[test]
|
1483 |
#[allow(clippy::eq_op)]
|
1484 |
#[allow(clippy::op_ref)]
|
1245 |
#[allow(clippy::eq_op, clippy::excessive_precision)]
|
1246 |
#[cfg(all(not(feature = "std"), feature = "floats"))]
|
1317 |
#[allow(clippy::eq_op, clippy::excessive_precision)]
|
1318 |
#[cfg(all(not(feature = "std"), feature = "floats"))]
|
137 |
#[test]
|
138 |
#[allow(clippy::eq_op)]
|
139 |
fn test_header_name_static_non_static() {
|
690 |
fn test_encryption_format_partialeq() {
|
691 |
#[allow(clippy::eq_op)]
|
692 |
{
|
382 |
#[allow(clippy::eq_op)]
|
383 |
async fn test_nan_param<T>(sql_type: &str)
|
16 |
#[allow(clippy::eq_op)]
|
17 |
fn eq_properties_helper<T: PrimitiveFloat>() {
|
12 |
#[test]
|
13 |
#[allow(clippy::eq_op)]
|
14 |
fn eq_properties() {
|
431 |
#[allow(clippy::eq_op)]
|
432 |
#[test]
|
63 |
#[allow(clippy::eq_op)]
|
64 |
#[test]
|
19 |
#[allow(clippy::cmp_owned, clippy::eq_op)]
|
20 |
#[test]
|
1089 |
#[allow(clippy::eq_op)]
|
1090 |
#[test]
|
845 |
#[allow(clippy::eq_op)]
|
846 |
#[test]
|
1141 |
#[allow(clippy::eq_op)]
|
1142 |
#[test]
|
31798 |
#[allow(clippy::eq_op)]
|
31799 |
#[test]
|
17 |
#[allow(clippy::cmp_owned, clippy::eq_op)]
|
18 |
#[test]
|
387 |
#[allow(clippy::eq_op)]
|
388 |
#[test]
|
463 |
#[allow(clippy::eq_op)]
|
464 |
#[test]
|
115 |
#[allow(clippy::eq_op)]
|
116 |
#[test]
|
70 |
#[allow(clippy::eq_op)]
|
71 |
#[test]
|
40 |
#[allow(clippy::cmp_owned, clippy::eq_op)]
|
41 |
#[test]
|
2369 |
#[rustfmt::skip]
|
2370 |
#[allow(clippy::eq_op, clippy::identity_op)]
|
2371 |
pub const OPCODE_POP_PUSH: [u8; 256] = [
|
307 |
#[cfg(test)]
|
308 |
#[allow(clippy::eq_op)]
|
309 |
mod test {
|
55 |
#[test]
|
56 |
#[allow(clippy::eq_op)]
|
57 |
fn is_equal_to_itself() {
|
62 |
#[test]
|
63 |
#[allow(clippy::eq_op)]
|
64 |
fn is_equal_to_itself_when_zero() {
|
171 |
#[test]
|
172 |
#[allow(clippy::eq_op)]
|
173 |
fn is_equal_to_itself() {
|
178 |
#[test]
|
179 |
#[allow(clippy::eq_op)]
|
180 |
fn is_equal_to_itself_when_zero() {
|
398 |
pub fn outer(&self, other: &Self) -> Self {
|
399 |
#[allow(clippy::eq_op)]
|
400 |
(self * other - other * self).half()
|
62 |
#[test]
|
63 |
#[allow(clippy::eq_op)]
|
64 |
fn dyn_dimension() {
|
1615 |
// FIXME: #[allow(clippy::eq_op)] in Rust 1.31
|
1616 |
#[cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints, eq_op))]
|
1617 |
{
|
203 |
// § 5.3 "C source code for computing bin number and overlapping bins" (2021-06-03)
|
204 |
#[allow(clippy::eq_op)]
|
205 |
pub(crate) fn region_to_bin(alignment_start: Position, alignment_end: Position) -> io::Result<u16> {
|
86 |
#[allow(clippy::eq_op)]
|
87 |
fn region_to_bin(start: Position, end: Position) -> io::Result<u16> {
|
661 |
#[crate::rt_test]
|
662 |
#[allow(clippy::eq_op)]
|
663 |
async fn test_body_eq() {
|
1867 |
#[test]
|
1868 |
#[allow(clippy::eq_op)]
|
1869 |
fn test_cmp() {
|
2525 |
#[test]
|
2526 |
#[allow(clippy::eq_op)]
|
2527 |
fn test_zero() {
|
660 |
/// Returns the right ascension of this orbit in degrees
|
661 |
#[allow(clippy::eq_op)]
|
662 |
pub fn right_ascension(&self) -> OrbitPartial {
|
669 |
/// Returns the declination of this orbit in degrees
|
670 |
#[allow(clippy::eq_op)]
|
671 |
pub fn declination(&self) -> OrbitPartial {
|
6 |
let obj = NSObject::new();
|
7 |
#[allow(clippy::eq_op)]
|
8 |
{
|
36 |
#[cfg_attr(feature = "cargo-clippy", allow(float_cmp, eq_op))]
|
37 |
impl OrdSubset for f64 {
|
45 |
#[cfg_attr(feature = "cargo-clippy", allow(float_cmp, eq_op))]
|
46 |
impl OrdSubset for f32 {
|
24 |
// than clippy can handle.
|
25 |
#[allow(clippy::eq_op)]
|
26 |
{
|
67 |
#[test]
|
68 |
#[allow(clippy::eq_op)]
|
69 |
fn test_sgn0result_xor() {
|
88 |
#[test]
|
89 |
#[allow(clippy::eq_op)]
|
90 |
fn test_sgn0result_and() {
|
41 |
#[test]
|
42 |
#[allow(clippy::eq_op)]
|
43 |
fn test_sgn0result_xor() {
|
955 |
#[inline]
|
956 |
#[allow(clippy::eq_op)]
|
957 |
fn is_nan<T: ParquetValueType>(val: &T) -> bool {
|
106 |
#[allow(clippy::eq_op)]
|
107 |
pub(crate) fn test_add_neg_sub_mul<BF: Extendable<D>, const D: usize>() {
|
583 |
#[test]
|
584 |
#[allow(clippy::eq_op)]
|
585 |
fn test_chunk_mismatch() {
|
195 |
// without convincing the compiler we deal with floats
|
196 |
#[allow(clippy::eq_op)]
|
197 |
if a != a {
|
769 |
#[test]
|
770 |
#[allow(clippy::eq_op)]
|
771 |
fn test_arithmetic_series() {
|
857 |
#[test]
|
858 |
#[allow(clippy::eq_op)]
|
859 |
fn poly_sub() {
|
7 |
#[allow(clippy::eq_op)]
|
8 |
mod assert_str_eq {
|
86 |
#[allow(clippy::eq_op)]
|
87 |
mod assert_eq {
|
1 |
#[allow(clippy::eq_op)]
|
2 |
mod assert_eq {
|
819 |
// experimental" https://github.com/rust-lang/rust/issues/15701
|
820 |
#[allow(clippy::eq_op)]
|
821 |
fn field_element_test<F: FieldElement + Hash>() {
|
771 |
#[test]
|
772 |
#[allow(clippy::eq_op)]
|
773 |
fn ibc_timeout_block_ord() {
|
87 |
#[test]
|
88 |
#[allow(clippy::eq_op)]
|
89 |
fn test_mul_bytestr() {
|
93 |
#[test]
|
94 |
#[allow(clippy::eq_op)]
|
95 |
fn test_add_byte() {
|
99 |
#[test]
|
100 |
#[allow(clippy::eq_op)]
|
101 |
fn test_add_bytestr() {
|
105 |
#[test]
|
106 |
#[allow(clippy::eq_op)]
|
107 |
fn test_add_bytestr_byte() {
|
111 |
#[test]
|
112 |
#[allow(clippy::eq_op)]
|
113 |
fn test_add_byte_bytestr() {
|
111 |
#[allow(clippy::eq_op)]
|
112 |
#[cfg(test)]
|
606 |
#[allow(clippy::eq_op)]
|
607 |
let one = &a / &a;
|
556 |
.unwrap();
|
557 |
#[allow(clippy::eq_op)]
|
558 |
let zero = &int - ∫
|
489 |
#[allow(clippy::eq_op)]
|
490 |
let one = &a / &a;
|
940 |
#[test]
|
941 |
#[allow(clippy::eq_op)]
|
942 |
fn same_interval_eq() {
|
232 |
let mut optimizer = SgdConfig::default().build_optimizer([&x]).unwrap();
|
233 |
#[allow(clippy::eq_op)]
|
234 |
let _ = optimizer
|
1 |
#[cfg(test)]
|
2 |
#[allow(clippy::eq_op)] // Allow equal expressions as operands
|
3 |
mod test {
|
296 |
#[test]
|
297 |
#[cfg_attr(feature = "cargo-clippy", allow(eq_op))]
|
298 |
fn quorum_check() {
|
274 |
#[test]
|
275 |
#[cfg_attr(feature = "cargo-clippy", allow(eq_op))]
|
276 |
fn xor_name_ord() {
|
1037 |
#[test]
|
1038 |
#[allow(clippy::eq_op)]
|
1039 |
fn eq() {
|
166 |
#[allow(clippy::eq_op)]
|
167 |
#[cfg(test)]
|
193 |
#[allow(clippy::eq_op)]
|
194 |
#[cfg(test)]
|
138 |
#[test]
|
139 |
#[allow(clippy::eq_op)]
|
140 |
fn test_sub_same_prec() {
|
100 |
#[test]
|
101 |
#[allow(clippy::eq_op)]
|
102 |
fn test_checked_sub() {
|
2458 |
#[test]
|
2459 |
#[allow(clippy::eq_op)]
|
2460 |
fn equality_edge_cases() {
|
2983 |
#[allow(clippy::cognitive_complexity)]
|
2984 |
#[allow(clippy::eq_op)]
|
2985 |
fn value_checker() {
|
2018 |
#[allow(clippy::cognitive_complexity)]
|
2019 |
#[allow(clippy::eq_op)]
|
2020 |
fn value_checker() {
|
2049 |
#[allow(clippy::cognitive_complexity)]
|
2050 |
#[allow(clippy::eq_op)]
|
2051 |
fn value_checker() {
|
365 |
#[cfg(debug_assertions)]
|
366 |
#[allow(clippy::eq_op, clippy::zero_divided_by_zero)]
|
367 |
fn nan_transform() {
|
819 |
#[test]
|
820 |
#[allow(clippy::eq_op)]
|
821 |
fn ibc_timeout_block_ord() {
|
146 |
#[test]
|
147 |
#[allow(clippy::eq_op)]
|
148 |
fn serial_equals_self() {
|
429 |
#[allow(clippy::eq_op)]
|
430 |
pub fn field_test<F: Field>(a: F, b: F, rng: &mut TestRng) {
|
21 |
#[allow(clippy::eq_op)]
|
22 |
pub fn affine_test<G: AffineCurve>(a: G) {
|
37 |
#[allow(clippy::eq_op)]
|
38 |
pub fn projective_test<G: ProjectiveCurve>(a: G, mut b: G, rng: &mut TestRng) {
|
33 |
#[allow(clippy::eq_op)]
|
34 |
fn field_test<NativeF: Field, F: Field, FG: FieldGadget<NativeF, F>, CS: ConstraintSystem<F>>(
|
22 |
#[allow(clippy::eq_op)]
|
23 |
pub fn group_test<F: Field, G: Group, GG: GroupGadget<G, F>, CS: ConstraintSystem<F>>(cs: &mut CS, a: GG, b: GG) {
|
272 |
#[allow(clippy::eq_op)]
|
273 |
pub fn field_test<F: Field>(a: F, b: F) {
|
23 |
#[allow(clippy::eq_op)]
|
24 |
pub fn group_test<G: Group>(a: G, mut b: G) {
|
22 |
#[allow(clippy::eq_op)]
|
23 |
fn biginteger_arithmetic_test<B: BigInteger>(a: B, b: B, zero: B) {
|
251 |
#[test]
|
252 |
#[allow(clippy::eq_op)]
|
253 |
fn eq() {
|
151 |
assert!(f1 > f2, "Compare must work");
|
152 |
#[allow(clippy::eq_op)]
|
153 |
{
|
265 |
#[allow(clippy::eq_op)]
|
266 |
#[test]
|
265 |
#[allow(clippy::eq_op)]
|
266 |
#[test]
|
276 |
#[test]
|
277 |
#[allow(clippy::eq_op)]
|
278 |
fn timestamp_operators() {
|
2369 |
#[rustfmt::skip]
|
2370 |
#[allow(clippy::eq_op, clippy::identity_op)]
|
2371 |
pub const OPCODE_POP_PUSH: [u8; 256] = [
|
384 |
#[allow(clippy::eq_op)]
|
385 |
async fn test_nan_param<T>(sql_type: &str)
|
145 |
#[test]
|
146 |
#[allow(clippy::eq_op)]
|
147 |
fn test_header_name_static_non_static() {
|
278 |
#[test]
|
279 |
#[allow(clippy::redundant_clone, clippy::eq_op)]
|
280 |
fn slices_and_thin() {
|
295 |
#[test]
|
296 |
#[allow(clippy::redundant_clone, clippy::eq_op)]
|
297 |
fn iter_and_thin() {
|
870 |
#[test]
|
871 |
#[allow(clippy::eq_op)]
|
872 |
pub fn rotor_equality() {
|
923 |
#[test]
|
924 |
#[allow(clippy::eq_op)]
|
925 |
pub fn drotor_equality() {
|
522 |
#[allow(clippy::eq_op)]
|
523 |
#[test]
|
3728 |
#[test]
|
3729 |
#[allow(clippy::eq_op)]
|
3730 |
fn equality_edge_cases() {
|
4480 |
#[allow(clippy::cognitive_complexity)]
|
4481 |
#[allow(clippy::eq_op)]
|
4482 |
fn value_checker() {
|
30 |
#[test]
|
31 |
#[allow(clippy::eq_op)]
|
32 |
fn inversion() {
|
118 |
#[test]
|
119 |
#[allow(clippy::eq_op)]
|
120 |
fn test_invariant() {
|
281 |
#[allow(clippy::eq_op, clippy::neg_cmp_op_on_partial_ord)]
|
282 |
#[cfg(test)]
|
696 |
#[allow(clippy::eq_op)]
|
697 |
fn render(
|
3 |
impl Application {
|
4 |
#[allow(clippy::eq_op)]
|
5 |
pub fn new() -> anyhow::Result<Self> {
|
13 |
const MM2S_DMACR: isize = 0x0 / 4;
|
14 |
#[allow(clippy::eq_op)]
|
15 |
const MM2S_DMASR: isize = 0x4 / 4;
|
14 |
const MM2S_DMACR: isize = 0x0 / 4;
|
15 |
#[allow(clippy::eq_op)]
|
16 |
const MM2S_DMASR: isize = 0x4 / 4;
|
356 |
#[test]
|
357 |
#[allow(clippy::eq_op, clippy::nonminimal_bool)]
|
358 |
fn xor_name_ord() {
|
464 |
#[test]
|
465 |
#[allow(clippy::eq_op)]
|
466 |
fn test_action_eq() {
|
6 |
#![allow(clippy::eq_op)]
|
2 |
clippy::assertions_on_result_states,
|
3 |
clippy::eq_op,
|
4 |
clippy::items_after_statements,
|
6 |
#![allow(clippy::eq_op)]
|
1 |
#![allow(unused)]
|
2 |
#![allow(clippy::eq_op)]
|
18 |
// Allowed because we use `arr == arr` in benchmarks
|
19 |
#![allow(clippy::eq_op)]
|
1 |
#![allow(clippy::eq_op)]
|
2 |
#![allow(clippy::nonminimal_bool)]
|
5 |
#![allow(clippy::eq_op)]
|
6 |
#![allow(clippy::op_ref)]
|
849 |
mod tests {
|
850 |
#![allow(clippy::eq_op)]
|
824 |
mod tests {
|
825 |
#![allow(clippy::eq_op)]
|
6 |
#![allow(clippy::assign_op_pattern)]
|
7 |
#![allow(clippy::eq_op)]
|
8 |
#![allow(clippy::assign_op_pattern)]
|
1 |
#![allow(
|
2 |
clippy::eq_op,
|
3 |
clippy::needless_pass_by_value,
|
1 |
#![allow(clippy::eq_op)]
|
1 |
#![allow(clippy::eq_op)]
|
1 |
#![allow(clippy::eq_op, clippy::trivially_copy_pass_by_ref)]
|
1 |
#![allow(clippy::eq_op, clippy::trivially_copy_pass_by_ref, dead_code)]
|
13 |
#![allow(clippy::eq_op, clippy::redundant_clone)]
|
13 |
#![allow(clippy::eq_op, clippy::redundant_clone)]
|
2 |
#![warn(rust_2018_idioms, single_use_lifetimes)]
|
3 |
#![allow(clippy::eq_op)]
|
6 |
clippy::cast_lossless,
|
7 |
clippy::eq_op,
|
8 |
clippy::identity_op,
|
10 |
#![allow(clippy::eq_op)]
|
10 |
#![allow(clippy::eq_op)]
|
10 |
#![allow(clippy::eq_op)]
|
13 |
#![allow(
|
14 |
clippy::eq_op, // testing the comparison
|
15 |
)]
|
1645 |
fn test_same_operator_chains() {
|
1646 |
#![allow(clippy::eq_op)]
|
1647 |
assert_eq!(
|
460 |
fn node_equality() {
|
461 |
#![allow(clippy::eq_op)]
|
462 |
let node1 = LocalNode::generate();
|
1 |
#![allow(clippy::assertions_on_constants, clippy::eq_op, clippy::identity_op)]
|
1 |
#![allow(clippy::eq_op)]
|
2 |
mod common;
|
7 |
clippy::cast_lossless,
|
8 |
clippy::eq_op,
|
9 |
clippy::identity_op,
|
7 |
clippy::cast_lossless,
|
8 |
clippy::eq_op,
|
9 |
clippy::identity_op,
|
7 |
clippy::cast_lossless,
|
8 |
clippy::eq_op,
|
9 |
clippy::identity_op,
|
1 |
#![allow(clippy::assertions_on_constants, clippy::eq_op)]
|
19 |
#![allow(clippy::identity_op)]
|
20 |
#![allow(clippy::eq_op)]
|
21 |
#![allow(clippy::match_single_binding)]
|
19 |
#![allow(clippy::identity_op)]
|
20 |
#![allow(clippy::eq_op)]
|
21 |
#![allow(clippy::match_single_binding)]
|
11 |
#![allow(clippy::float_cmp)]
|
12 |
#![allow(clippy::eq_op)]
|
13 |
#![allow(clippy::assign_op_pattern)]
|
3 |
#![allow(clippy::eq_op)]
|
1 |
#![allow(clippy::eq_op)]
|
6 |
clippy::cast_lossless,
|
7 |
clippy::eq_op,
|
8 |
clippy::identity_op,
|
6 |
clippy::cast_lossless,
|
7 |
clippy::eq_op,
|
8 |
clippy::identity_op,
|
13 |
clippy::unnecessary_filter_map,
|
14 |
clippy::eq_op,
|
15 |
clippy::redundant_slicing,
|
1 |
#![allow(clippy::float_cmp, clippy::eq_op, clippy::op_ref)]
|
1 |
#![allow(clippy::eq_op)]
|
2 |
use oxiri::{Iri, IriRef};
|
171 |
mod tests {
|
172 |
#![allow(clippy::eq_op)]
|
173 |
use super::*;
|
1 |
#![allow(
|
2 |
clippy::eq_op,
|
3 |
clippy::needless_pass_by_value,
|
2 |
clippy::derive_partial_eq_without_eq,
|
3 |
clippy::eq_op,
|
4 |
clippy::uninlined_format_args
|
1 |
#![allow(clippy::derive_partial_eq_without_eq, clippy::eq_op)]
|
429 |
// otherwise unusual expressions, so the lint is disabled.
|
430 |
#![allow(clippy::eq_op)]
|
431 |
// Some test functions contain long lists of assertions. Clippy thinks they are too complex.
|
20 |
#![allow(clippy::collapsible_if)]
|
21 |
#![allow(clippy::eq_op)]
|
22 |
#![allow(clippy::excessive_precision)]
|
665 |
fn ms_partial_cmp() {
|
666 |
#![allow(clippy::eq_op)]
|
667 |
let myriad: MsecDuration = 10_000.into();
|
1 |
#![allow(clippy::eq_op)]
|
1 |
#![allow(clippy::eq_op)]
|
1 |
#![allow(clippy::eq_op, clippy::trivially_copy_pass_by_ref)]
|
1 |
#![allow(clippy::eq_op, clippy::trivially_copy_pass_by_ref, dead_code)]
|
13 |
#![allow(clippy::eq_op, clippy::redundant_clone)]
|
13 |
#![allow(clippy::eq_op, clippy::redundant_clone)]
|
63 |
clippy::deprecated_cfg_attr,
|
64 |
clippy::eq_op,
|
65 |
clippy::approx_constant,
|
3 |
#![warn(clippy::missing_inline_in_public_items)]
|
4 |
#![allow(clippy::eq_op)]
|
5 |
#![allow(clippy::excessive_precision)]
|