diff options
| author | bors <bors@rust-lang.org> | 2021-06-08 15:52:40 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-06-08 15:52:40 +0000 |
| commit | 07217e3370868440b17d846dd4b156449ed62920 (patch) | |
| tree | 3cd30551378b46f9976a4674ab40c25bae778cb1 /src/test/mir-opt/lower_array_len.array_len.SimplifyLocals.diff | |
| parent | c1577ab9625acc03e716255925d46f7a03832359 (diff) | |
| parent | 7db0e4f791cf8baf3fe8e978a9056d0d8464a1bd (diff) | |
| download | rust-07217e3370868440b17d846dd4b156449ed62920.tar.gz rust-07217e3370868440b17d846dd4b156449ed62920.zip | |
Auto merge of #7262 - Jarcho:while_let_on_iter_closure, r=xFrednet,flip1995
fix `while_let_on_iterator` suggestion in a closure fixes: #7249 A future improvement would be to check if the closure is being used as `FnOnce`, in which case the original suggestion would be correct. changelog: Suggest `&mut iter` inside a closure for `while_let_on_iterator`
Diffstat (limited to 'src/test/mir-opt/lower_array_len.array_len.SimplifyLocals.diff')
0 files changed, 0 insertions, 0 deletions
