rust/crates/ide-diagnostics
bors 91b8441b3a Auto merge of #17055 - wyatt-herkamp:fix_panic_at_unused_variable, r=Veykril
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
2024-04-17 10:11:03 +00:00
..
src Auto merge of #17055 - wyatt-herkamp:fix_panic_at_unused_variable, r=Veykril 2024-04-17 10:11:03 +00:00
Cargo.toml