Ignore unnested_or_patterns suggesting unstable code
Clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704
This commit is contained in:
parent
0856a2c101
commit
95b1a5d3d9
@ -95,6 +95,8 @@
|
|||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
feature = "cargo-clippy",
|
feature = "cargo-clippy",
|
||||||
allow(
|
allow(
|
||||||
|
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704
|
||||||
|
unnested_or_patterns,
|
||||||
// not available in our oldest supported compiler
|
// not available in our oldest supported compiler
|
||||||
checked_conversions,
|
checked_conversions,
|
||||||
empty_enum,
|
empty_enum,
|
||||||
|
@ -24,7 +24,9 @@
|
|||||||
clippy::too_many_arguments,
|
clippy::too_many_arguments,
|
||||||
clippy::trivially_copy_pass_by_ref,
|
clippy::trivially_copy_pass_by_ref,
|
||||||
clippy::used_underscore_binding,
|
clippy::used_underscore_binding,
|
||||||
clippy::wildcard_in_or_patterns
|
clippy::wildcard_in_or_patterns,
|
||||||
|
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704
|
||||||
|
clippy::unnested_or_patterns,
|
||||||
)]
|
)]
|
||||||
// Ignored clippy_pedantic lints
|
// Ignored clippy_pedantic lints
|
||||||
#![allow(
|
#![allow(
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
cognitive_complexity,
|
cognitive_complexity,
|
||||||
redundant_field_names,
|
redundant_field_names,
|
||||||
trivially_copy_pass_by_ref,
|
trivially_copy_pass_by_ref,
|
||||||
wildcard_in_or_patterns
|
wildcard_in_or_patterns,
|
||||||
|
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704
|
||||||
|
unnested_or_patterns,
|
||||||
)
|
)
|
||||||
)]
|
)]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user