rust-analyzer/crates/ide-diagnostics/src
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
..
handlers Auto merge of #17055 - wyatt-herkamp:fix_panic_at_unused_variable, r=Veykril 2024-04-17 10:11:03 +00:00
lib.rs Generally optimize diagnostics performance 2024-04-15 22:15:41 +02:00
tests.rs Make use of ThinArc in RawAttrs 2024-03-21 11:49:09 +01:00