Reduce the scope of clippy exceptions

This prevents creation of new overly complex functions.
This commit is contained in:
Alexander Krotov
2020-01-20 22:43:25 +03:00
committed by holger krekel
parent 0f52f63863
commit 1732c3b350
6 changed files with 7 additions and 4 deletions

View File

@@ -1,7 +1,5 @@
#![forbid(unsafe_code)]
#![deny(clippy::correctness, missing_debug_implementations, clippy::all)]
// for now we hide warnings to not clutter/hide errors during "cargo clippy"
#![allow(clippy::cognitive_complexity, clippy::too_many_arguments)]
#![allow(clippy::match_bool)]
#![feature(ptr_wrapping_offset_from)]
#![feature(drain_filter)]