Files
rust/compiler
Nicholas Nethercote 2b57a785a9 Inline and remove RegionConstraintCollector::into_infos_and_data.
It's a weird method, and used weirdly:
- It's on `RegionConstraintCollector` but operates on
  `RegionConstraintStorage`. So at both call sites we create a temporary
  `RegionConstraintCollector`, using `with_log`, to call it.
- It `take`s just two of the six fields in `RegionConstraintStorage`.
  At one of the two call sites we unnecessarily clone the entire
  `RegionConstraintStorage` just to take those two fields.

This commit just inlines and removes it. We no longer need to `take` the
two fields, we can just use them directly.
2024-10-08 16:28:58 +11:00
..
2024-10-04 23:28:22 +00:00
2024-10-01 17:21:56 -04:00
2024-10-04 23:28:22 +00:00
2024-10-04 23:28:22 +00:00
2024-10-04 23:28:22 +00:00