about summary refs log tree commit diff
path: root/compiler/rustc_driver/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-02-25 07:30:49 +0100
committerGitHub <noreply@github.com>2022-02-25 07:30:49 +0100
commit10070118add69bd55d8cb0bec574b4dc920c3531 (patch)
treedf97b704380f5082d3a51cab6693ac7f956873f0 /compiler/rustc_driver/src
parentae6770e4d5677ae12fa9485a39a3991439434ece (diff)
parent074d757bc68c5f22d7a59724dae55ea2357bff8b (diff)
downloadrust-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