about summary refs log tree commit diff
path: root/src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-04-18 23:47:18 +0000
committerbors <bors@rust-lang.org>2021-04-18 23:47:18 +0000
commitc569d33be52a9be7b1070d1a7c9bc1255e004e87 (patch)
treee20b255ad7dc878d0095046678755c799cbf5eda /src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff
parente441b33ba00d897fff4479513210d41f988dfde3 (diff)
parent243dc4625050d791eb8f91b6b4da2f8dc8449a8d (diff)
downloadrust-c569d33be52a9be7b1070d1a7c9bc1255e004e87.tar.gz
rust-c569d33be52a9be7b1070d1a7c9bc1255e004e87.zip
Auto merge of #7108 - rust-lang:fix-return-try-err, r=Manishearth
un-double `return` on try_err

This fixes #7103 by looking at the parent expression and omitting the "return " in the suggestion when its already a `return` expression.

---

changelog: none
Diffstat (limited to 'src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff')
0 files changed, 0 insertions, 0 deletions