diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-21 15:59:01 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-21 15:59:01 +0800 |
| commit | 05a06b59d2a27428d253308f067aa0e5a841eb5e (patch) | |
| tree | b1176b831e42a7dff4a8b0bcbb35fc7755164c77 /mingling_cli/Cargo.toml | |
| parent | 770d738829076e0be2152452ab68933a47a483e2 (diff) | |
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.
Diffstat (limited to 'mingling_cli/Cargo.toml')
| -rw-r--r-- | mingling_cli/Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
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"] } |
