rust/compiler
Matthias Krüger b677c77686
Rollup merge of #120317 - Nadrieril:dont-force-slice-of-ty, r=compiler-errors
pattern_analysis: Let `ctor_sub_tys` return any Iterator they want

I noticed that we always `.cloned()` and allocate the output of `TypeCx::ctor_sub_tys` now, so there was no need to force it to return a slice. `ExactSizeIterator` is not super important but saves some manual counting.

r? `@compiler-errors`
2024-01-25 08:39:44 +01:00
..
2024-01-16 21:15:31 +01:00
2024-01-19 20:10:39 -08:00
2024-01-17 03:14:16 +01:00
2024-01-19 20:10:39 -08:00
2024-01-17 03:14:16 +01:00
2024-01-22 10:14:01 +11:00
2024-01-22 22:53:20 +00:00
2024-01-23 21:17:06 +08:00
2024-01-22 10:14:01 +11:00