Enable clippy::type_complexity error

This commit is contained in:
Alexander Krotov
2019-12-14 20:09:09 +01:00
committed by holger krekel
parent 81199e7ee0
commit 74923b4575
2 changed files with 9 additions and 15 deletions

View File

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