From 98480e00eba39c11c10259979e74841df0f181cd Mon Sep 17 00:00:00 2001 From: David Szotten Date: Sun, 6 Aug 2023 18:03:33 +0100 Subject: [PATCH] fix with feature=unreachable-code --- crates/ruff/src/rules/ruff/rules/unreachable.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/ruff/src/rules/ruff/rules/unreachable.rs b/crates/ruff/src/rules/ruff/rules/unreachable.rs index 300110fe6f9c82..f04625a1c7e121 100644 --- a/crates/ruff/src/rules/ruff/rules/unreachable.rs +++ b/crates/ruff/src/rules/ruff/rules/unreachable.rs @@ -632,7 +632,6 @@ impl<'stmt> BasicBlocksBuilder<'stmt> { | Expr::Set(_) | Expr::Compare(_) | Expr::Call(_) - | Expr::FormattedValue(_) | Expr::FString(_) | Expr::Constant(_) | Expr::Attribute(_)