rust/compiler
bors d8e59edbfa Auto merge of #96359 - SparrowLii:drop_kind, r=oli-obk
make `classify_drop_access_kind` iterate

This PR:
1. fixes the FIXME of `classify_drop_access_kind` func in the borrowck part. The process of obtaining `StorageDeadOrDrop` has been changed from recursive to iterative.
2. gets `place_ty` in each iteration, avoid repeatedly getting the `ty` of the same place (O(n^2) => O(n))
2022-04-24 12:58:16 +00:00
..
2022-04-23 09:59:24 +02:00
2022-04-23 09:59:24 +02:00
2022-04-23 23:01:19 +02:00
2022-04-23 23:01:19 +02:00
2022-04-23 09:57:00 +02:00
2022-04-23 09:59:24 +02:00