about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
diff options
context:
space:
mode:
authorMichael Wright <mikerite@lavabit.com>2022-06-05 07:28:28 +0200
committerMichael Wright <mikerite@lavabit.com>2022-06-05 07:30:59 +0200
commita2de34720d984669499e981b640cde050c2a4dfa (patch)
treebff5a53fade5f5083f7c6f51a5acd8876a76851e /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
parent2a1a80d80cdc75ed0bb9f35744591089b8a89f31 (diff)
downloadrust-a2de34720d984669499e981b640cde050c2a4dfa.tar.gz
rust-a2de34720d984669499e981b640cde050c2a4dfa.zip
needless_late_init refactoring
Remove the unneeded wrapping and unwrapping in suggestion creation.
Collecting to Option<Vec<_>> only returns None if one of the elements is
None and that is never the case here.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions