about summary refs log tree commit diff
path: root/tests/coverage/branch/lazy-boolean.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-17 10:11:03 +0000
committerbors <bors@rust-lang.org>2024-04-17 10:11:03 +0000
commit91b8441b3a3c8d6eb68c63ce56789dfdaef18641 (patch)
tree8530b6ce65bbfb83e66165b54b6c8434983645e4 /tests/coverage/branch/lazy-boolean.rs
parentd07f0240fd9ced3addb8bdcda6fb9a305cb6499f (diff)
parent0eb7b6c7b5846d93a5d5e0a42b9aba6e26feef61 (diff)
downloadrust-91b8441b3a3c8d6eb68c63ce56789dfdaef18641.tar.gz
rust-91b8441b3a3c8d6eb68c63ce56789dfdaef18641.zip
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
Diffstat (limited to 'tests/coverage/branch/lazy-boolean.rs')
0 files changed, 0 insertions, 0 deletions