diff options
| author | bors <bors@rust-lang.org> | 2021-04-18 23:47:18 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-04-18 23:47:18 +0000 |
| commit | c569d33be52a9be7b1070d1a7c9bc1255e004e87 (patch) | |
| tree | e20b255ad7dc878d0095046678755c799cbf5eda /src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff | |
| parent | e441b33ba00d897fff4479513210d41f988dfde3 (diff) | |
| parent | 243dc4625050d791eb8f91b6b4da2f8dc8449a8d (diff) | |
| download | rust-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
