summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/expect_tool_lint_rfc_2383.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/ui/expect_tool_lint_rfc_2383.rs')
-rw-r--r--src/tools/clippy/tests/ui/expect_tool_lint_rfc_2383.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/clippy/tests/ui/expect_tool_lint_rfc_2383.rs b/src/tools/clippy/tests/ui/expect_tool_lint_rfc_2383.rs
index 28b37f96e..0415e33b3 100644
--- a/src/tools/clippy/tests/ui/expect_tool_lint_rfc_2383.rs
+++ b/src/tools/clippy/tests/ui/expect_tool_lint_rfc_2383.rs
@@ -98,7 +98,7 @@ mod clippy_ok {
let _ = if true { 42 } else { 42 };
}
- #[expect(clippy::logic_bug)]
+ #[expect(clippy::overly_complex_bool_expr)]
fn burger() {
let a = false;
let b = true;
@@ -127,7 +127,7 @@ mod clippy_warn {
let _ = if true { 33 } else { 42 };
}
- #[expect(clippy::logic_bug)]
+ #[expect(clippy::overly_complex_bool_expr)]
fn burger() {
let a = false;
let b = true;