changeset 53006:c4392e8bfb9f

rust: enable clippy::or_fun_call lint I confirmed that this would have prevented the issue in !1280. For details see: https://rust-lang.github.io/rust-clippy/master/index.html#/or_fun_call
author Mitchell Kember <mkember@janestreet.com>
date Fri, 21 Feb 2025 14:37:57 -0500
parents 1ef08a0381a0
children 8c85d139ff64
files rust/Cargo.toml
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rust/Cargo.toml	Fri Feb 21 14:37:18 2025 -0500
+++ b/rust/Cargo.toml	Fri Feb 21 14:37:57 2025 -0500
@@ -2,3 +2,6 @@
 members = ["hg-core", "hg-cpython", "hg-pyo3", "rhg", "pyo3-sharedref"]
 exclude = ["chg", "hgcli"]
 resolver = "2"
+
+[workspace.lints.clippy]
+or_fun_call = "deny"