From 898ffe87dbc9a99498c6db7063060e8ba3c84e4a Mon Sep 17 00:00:00 2001 From: tupe12334 Date: Sun, 21 Jun 2026 08:36:49 +0300 Subject: [PATCH] Enable clippy::enum_glob_use lint Add `enum_glob_use = "deny"` to the `[lints.clippy]` table in core/Cargo.toml. The lint bans glob imports of enum variants (`use MyEnum::*;`), favoring explicit variant paths. Complements the existing `wildcard_imports = "deny"` policy. Zero current violations; clippy/build/test all pass. Closes #165 Co-Authored-By: Claude Opus 4.8 (1M context) --- core/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/core/Cargo.toml b/core/Cargo.toml index 6d801c0..f15bcfa 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -78,6 +78,7 @@ expect_used = "deny" too_many_lines = "deny" unwrap_used = "deny" wildcard_imports = "deny" +enum_glob_use = "deny" [dependencies] cel-interpreter = "0.10"