From 05a06b59d2a27428d253308f067aa0e5a841eb5e Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Tue, 21 Jul 2026 15:59:01 +0800 Subject: feat(lints): add quote dependency and improve variable name detection Use `quote` token stream matching instead of debug formatting to detect variable references in `unnecessary_render_result_creation`, fixing false positives from string-based matching. --- mingling_cli/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'mingling_cli/Cargo.toml') diff --git a/mingling_cli/Cargo.toml b/mingling_cli/Cargo.toml index ab51d9e..5b36c6b 100644 --- a/mingling_cli/Cargo.toml +++ b/mingling_cli/Cargo.toml @@ -40,6 +40,7 @@ annotate-snippets = "0.12.16" # Code analyze proc-macro2 = { version = "1.0.107", features = ["span-locations"] } syn = { version = "3.0.2", features = ["full", "extra-traits"] } +quote = "1.0.47" # Configure & Serialization serde = { version = "1.0.229", features = ["derive"] } -- cgit