about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorEdward Shen <code@eddie.sh>2023-01-23 20:31:45 -0800
committerEdward Shen <xes@meta.com>2023-01-23 20:33:04 -0800
commita8b77cfe5464e29b25389593ced9d080bf0dd6c8 (patch)
tree2fae43b147645668da9ce11c1c52f7652bec936d /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff
parentc8e6a9e8b6251bbc8276cb78cabe1998deecbed7 (diff)
downloadrust-a8b77cfe5464e29b25389593ced9d080bf0dd6c8.tar.gz
rust-a8b77cfe5464e29b25389593ced9d080bf0dd6c8.zip
Add suggestion to remove if in let...else block
Adds an additional hint to failures where we encounter an else keyword
while we're parsing an if-let block.

This is likely that the user has accidentally mixed if-let and let...else
together.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions