diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-02-25 07:30:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-25 07:30:49 +0100 |
| commit | 10070118add69bd55d8cb0bec574b4dc920c3531 (patch) | |
| tree | df97b704380f5082d3a51cab6693ac7f956873f0 /compiler/rustc_driver/src | |
| parent | ae6770e4d5677ae12fa9485a39a3991439434ece (diff) | |
| parent | 074d757bc68c5f22d7a59724dae55ea2357bff8b (diff) | |
| download | rust-10070118add69bd55d8cb0bec574b4dc920c3531.tar.gz rust-10070118add69bd55d8cb0bec574b4dc920c3531.zip | |
Rollup merge of #94068 - eholk:drop-track-field-assign, r=tmandry
Consider mutations as borrows in generator drop tracking This is needed to match MIR more conservative approximation of any borrowed value being live across a suspend point (See #94067). This change considers an expression such as `x.y = z` to be a borrow of `x` and therefore keeps `x` live across suspend points. r? `@nikomatsakis`
Diffstat (limited to 'compiler/rustc_driver/src')
0 files changed, 0 insertions, 0 deletions
