diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-12-27 09:11:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-27 09:11:35 +0100 |
| commit | d6382c785fbf0cdc0722decc2fb405e4713acb28 (patch) | |
| tree | 74b02712a948f08949cbc50813595865110b0ed4 /compiler/rustc_pattern_analysis/src/errors.rs | |
| parent | 625c2c401fae15dc3484cb25313ddff39b7e016c (diff) | |
| parent | 286f2d819eec03525992b8e4aeb201c3fb987a88 (diff) | |
| download | rust-d6382c785fbf0cdc0722decc2fb405e4713acb28.tar.gz rust-d6382c785fbf0cdc0722decc2fb405e4713acb28.zip | |
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.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
