rust/compiler
Matthias Krüger 6dc365003b
Rollup merge of #111573 - compiler-errors:erase-re-error, r=WaffleLapkin
Erase `ReError` properly

Fixes #111341

Since we check whether a type has free regions before erasing (to short circuit unnecesary folding), we need to consider `ReError` as a free region, or else we'll skip it when erasing a type that only mentions `ReError`.

cc `@nnethercote`
2023-05-16 20:12:17 +02:00
..
2023-05-05 21:44:48 +02:00
2023-05-02 10:45:16 -07:00
2023-05-01 16:15:13 +08:00
2023-05-08 14:23:19 +00:00