about summary refs log tree commit diff
path: root/compiler/rustc_driver/src
diff options
context:
space:
mode:
authorEric Holk <ericholk@microsoft.com>2022-02-16 15:11:35 -0800
committerEric Holk <ericholk@microsoft.com>2022-02-16 15:30:43 -0800
commit074d757bc68c5f22d7a59724dae55ea2357bff8b (patch)
treea37002b808178e99fb3a50c45f6c5fda8db5ce57 /compiler/rustc_driver/src
parentf90b06d7fb00470177516c5881bcec0432cb4f24 (diff)
downloadrust-074d757bc68c5f22d7a59724dae55ea2357bff8b.tar.gz
rust-074d757bc68c5f22d7a59724dae55ea2357bff8b.zip
Consider mutations as borrows in 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.
Diffstat (limited to 'compiler/rustc_driver/src')
0 files changed, 0 insertions, 0 deletions