mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-04 11:34:51 +00:00

fix: Replace Just the variable name in Unused Variable Diagnostic Fix Changes Unused Variable diagnostic to just look at the variable name, not the entire syntax range. Also added a test for an unused variable in an array destructure. Closes #17053