about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2024-01-24 16:30:37 +0000
committerEsteban Küber <esteban@kuber.com.ar>2024-01-24 16:32:24 +0000
commitd992d9cd56c21c9fad629f95826895b03bdc7077 (patch)
tree0aa46b823022dc40534921f56cb3dba7ed20bab5 /compiler/rustc_pattern_analysis/src
parent0b7730105fb7e008002f6ba29f87a55699f67744 (diff)
downloadrust-d992d9cd56c21c9fad629f95826895b03bdc7077.tar.gz
rust-d992d9cd56c21c9fad629f95826895b03bdc7077.zip
On E0308 involving `dyn Trait`, mention trait objects
When encountering a type mismatch error involving `dyn Trait`, mention
the existence of boxed trait objects if the other type involved
implements `Trait`.

Partially addresses #102629.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions