Matthias Krüger d6382c785f
Rollup merge of #119175 - veera-sivarajan:fix-cast-to-slice, r=WaffleLapkin
fix: diagnostic for casting reference to slice

fixes:  #118790

Removes `if self.cast_ty.is_trait()` to produce the same diagnostic for cast to slice and trait.
2023-12-27 09:11:35 +01:00
..
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-11-16 17:00:23 +00:00
2023-12-14 15:22:37 +01:00
2023-12-19 13:35:37 -05:00
2023-12-14 15:22:37 +01:00
2023-12-20 22:53:56 -05:00
2023-12-10 10:56:22 +08:00
2023-11-16 17:00:23 +00:00
2023-11-16 17:00:23 +00:00
2023-11-24 21:04:51 +01:00