about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-24 00:25:32 +0000
committerbors <bors@rust-lang.org>2023-10-24 00:25:32 +0000
commitcd674d61790607dfb6faa9d754bd3adfa13aea7c (patch)
treeaaa0ef3c15b1298fb273297d8337699891df3cc5 /library/std/src
parentf654229c27267334023a22233795b88b75fc340e (diff)
parentc8f33ec35f7dccf9890e9f8438c221ac74c1e07d (diff)
downloadrust-cd674d61790607dfb6faa9d754bd3adfa13aea7c.tar.gz
rust-cd674d61790607dfb6faa9d754bd3adfa13aea7c.zip
Auto merge of #116300 - cjgillot:split-move, r=petrochenkov
Separate move path tracking between borrowck and drop elaboration.

The primary goal of this PR is to skip creating a `MovePathIndex` for path that do not need dropping in drop elaboration.

The 2 first commits are cleanups.

The next 2 commits displace `move` errors from move-path builder to borrowck. Move-path builder keeps the same logic, but does not carry error information any more.

The remaining commits allow to filter `MovePathIndex` creation according to types. This is used in drop elaboration, to avoid computing dataflow for paths that do not need dropping.
Diffstat (limited to 'library/std/src')
0 files changed, 0 insertions, 0 deletions