about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-12-27 09:11:35 +0100
committerGitHub <noreply@github.com>2023-12-27 09:11:35 +0100
commitd6382c785fbf0cdc0722decc2fb405e4713acb28 (patch)
tree74b02712a948f08949cbc50813595865110b0ed4 /compiler/rustc_pattern_analysis/src
parent625c2c401fae15dc3484cb25313ddff39b7e016c (diff)
parent286f2d819eec03525992b8e4aeb201c3fb987a88 (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions