Skip to content

Commit 6d44b9f

Browse files
committed
Ignore unconditional_recursion clippy lint due to false positive
rust-lang/rust-clippy#12133 warning: function cannot return without recursing --> src/map.rs:276:5 | 276 | / fn eq(&self, other: &Self) -> bool { 277 | | self.map.eq(&other.map) 278 | | } | |_____^ | note: recursive call site --> src/map.rs:277:9 | 277 | self.map.eq(&other.map) | ^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unconditional_recursion = note: `-W clippy::unconditional-recursion` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::unconditional_recursion)]`
1 parent 0131ac6 commit 6d44b9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@
316316
clippy::needless_late_init,
317317
clippy::return_self_not_must_use,
318318
clippy::transmute_ptr_to_ptr,
319+
clippy::unconditional_recursion, // https://github.com/rust-lang/rust-clippy/issues/12133
319320
clippy::unnecessary_wraps
320321
)]
321322
// Ignored clippy_pedantic lints

0 commit comments

Comments
 (0)