mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +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