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:
authorAshley Mannix <kodraus@hey.com>2021-01-18 21:53:28 +1000
committerGitHub <noreply@github.com>2021-01-18 21:53:28 +1000
commitb4defec768e179f0cf3e83faaa5b1c4dac9e050a (patch)
tree2f97a0b5f89983c3100289c524ea65805b33a60b /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
parentd3ff9ac8e8899f06a32e85d9d1a8ec7b2abd6765 (diff)
parent0a74e17211b9ba95555790be3a0a16a562d74280 (diff)
downloadrust-b4defec768e179f0cf3e83faaa5b1c4dac9e050a.tar.gz
rust-b4defec768e179f0cf3e83faaa5b1c4dac9e050a.zip
Rollup merge of #81105 - LingMan:init_directly, r=nagisa
Initialize a few variables directly

Currently they are declared as `mut`, get initialized to a default value, and
then possibly overwritten.

By initializing to the final value directly, they don't need to be `mut` and
it's clear that they don't get mutated elsewhere later on.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions