diff options
| author | Jason Newcomb <jsnewcomb@pm.me> | 2021-08-09 14:18:53 -0400 |
|---|---|---|
| committer | Jason Newcomb <jsnewcomb@pm.me> | 2021-08-14 19:49:57 -0400 |
| commit | 9500974bdb5f7cd9a8ba056b41bd5af5f373e0d3 (patch) | |
| tree | 9dea0dad5176a564bf1a90b02a05f42b49b730bb /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff | |
| parent | 251dd30d77c98cbebd1c68840fce029affe9b6a8 (diff) | |
| download | rust-9500974bdb5f7cd9a8ba056b41bd5af5f373e0d3.tar.gz rust-9500974bdb5f7cd9a8ba056b41bd5af5f373e0d3.zip | |
Fix tracking of which locals would need to be captured in a closure.
* Captures by sub closures are now considered * Copy types are correctly borrowed by reference when their value is used * Fields are no longer automatically borrowed by value * Bindings in `match` and `let` patterns are now checked to determine how a local is captured
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions
