mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 18:15:07 +03:00
d6382c785f
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.