about summary refs log tree commit diff
path: root/clippy_lints/src/mutable_debug_assertion.rs
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2020-04-06 15:46:40 -0700
committerDavid Tolnay <dtolnay@gmail.com>2020-04-08 08:37:20 -0700
commit899a1b559805fa46c18b8165e2f59f77eb843585 (patch)
treeb96bea6b559330d6c86ed8485ae92a4fe5e8533e /clippy_lints/src/mutable_debug_assertion.rs
parentf8308c811f695a6025d48dbc89267ec4d32b5354 (diff)
downloadrust-899a1b559805fa46c18b8165e2f59f77eb843585.tar.gz
rust-899a1b559805fa46c18b8165e2f59f77eb843585.zip
Move cognitive_complexity to nursery
Diffstat (limited to 'clippy_lints/src/mutable_debug_assertion.rs')
-rw-r--r--clippy_lints/src/mutable_debug_assertion.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/clippy_lints/src/mutable_debug_assertion.rs b/clippy_lints/src/mutable_debug_assertion.rs
index 80609d5cb1d..119e0905ff4 100644
--- a/clippy_lints/src/mutable_debug_assertion.rs
+++ b/clippy_lints/src/mutable_debug_assertion.rs
@@ -53,7 +53,6 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for DebugAssertWithMutCall {
 }
 
 //HACK(hellow554): remove this when #4694 is implemented
-#[allow(clippy::cognitive_complexity)]
 fn extract_call<'a, 'tcx>(cx: &'a LateContext<'a, 'tcx>, e: &'tcx Expr<'_>) -> Option<Span> {
     if_chain! {
         if let ExprKind::Block(ref block, _) = e.kind;