Skip to content

Commit 72bb293

Browse files
committed
fix(test_suite): ignore the eq_op clippy lint
This clippy lint rejects statements like the following: assert_eq!(app.eg1, app.eg1); Such statements are needed here because we want to test our types' `PartielEq` implementations.
1 parent edf5503 commit 72bb293

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/r3_test_suite/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#![feature(array_windows)]
1313
#![feature(unsafe_block_in_unsafe_fn)] // `unsafe fn` doesn't imply `unsafe {}`
1414
#![deny(unsafe_op_in_unsafe_fn)]
15+
#![allow(clippy::eq_op)] // we want to test `PartialEq` implementations
1516
#![doc(include = "./lib.md")]
1617
#![doc(include = "./common.md")]
1718
#![no_std]

0 commit comments

Comments
 (0)