diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-03-24 00:49:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-24 00:49:45 +0100 |
| commit | ab2817bbd0047448a2c3dadd856cac98ff07a7a8 (patch) | |
| tree | 3f826a13b1c9c596dcadf3d8cee34b37a517100a /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 7a47df81697ae1db7b7545b11a06e00e989ccd87 (diff) | |
| parent | 1e5d81de1d8485e9ce2995bc6b1559f25c4d86e5 (diff) | |
| download | rust-ab2817bbd0047448a2c3dadd856cac98ff07a7a8.tar.gz rust-ab2817bbd0047448a2c3dadd856cac98ff07a7a8.zip | |
Rollup merge of #70264 - tirr-c:issue-69789-mut-suggestion, r=estebank
Fix invalid suggestion on `&mut` iterators yielding `&` references Fixes #69789. rustc suggested an invalid code when `&` reference from `&mut` iterator is mutated. The compiler knew we're mutating a value behind `&` reference, but as the assignment RHS is from desugaring, it could only see the iterator expression from source and inserted `mut` there. r? @estebank
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
