Skip to content

Commit

Permalink
fix(test_suite): ignore the eq_op clippy lint
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
yvt committed Dec 4, 2020
1 parent edf5503 commit 72bb293
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/r3_test_suite/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#![feature(array_windows)]
#![feature(unsafe_block_in_unsafe_fn)] // `unsafe fn` doesn't imply `unsafe {}`
#![deny(unsafe_op_in_unsafe_fn)]
#![allow(clippy::eq_op)] // we want to test `PartialEq` implementations
#![doc(include = "./lib.md")]
#![doc(include = "./common.md")]
#![no_std]
Expand Down

0 comments on commit 72bb293

Please sign in to comment.