Skip to content

Commit 631ce80

Browse files
committed
Ignore unnested_or_patterns suggesting unstable code
Clippy bug: rust-lang/rust-clippy#5704
1 parent 3aae678 commit 631ce80

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,9 @@
311311
clippy::float_cmp,
312312
clippy::match_single_binding,
313313
clippy::needless_doctest_main,
314-
clippy::transmute_ptr_to_ptr
314+
clippy::transmute_ptr_to_ptr,
315+
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704
316+
clippy::unnested_or_patterns,
315317
)]
316318
// Ignored clippy_pedantic lints
317319
#![allow(

0 commit comments

Comments
 (0)