aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-struct-field-expr.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-04-21 20:14:43 +0100
committerPhilip Herron <philip.herron@embecosm.com>2022-04-21 20:20:24 +0100
commit639b3d61ab124ab14e0935893abe437ed7f6ad52 (patch)
tree47d6562a257d8e4e9299a9f5fe25a5dbbb03b101 /gcc/rust/backend/rust-compile-struct-field-expr.h
parentfc22f12c9c707b258f35a1bab0e8154441b972b8 (diff)
downloadgcc-639b3d61ab124ab14e0935893abe437ed7f6ad52.zip
gcc-639b3d61ab124ab14e0935893abe437ed7f6ad52.tar.gz
gcc-639b3d61ab124ab14e0935893abe437ed7f6ad52.tar.bz2
Add missing coercion rule from array to slice
Arrays are coercible into slices, this adds the missing type-resolution the rule which works for now. The other part of this fix is described in so that we reuse as much code as possible and handle complex coercion sites. Fixes #1129
Diffstat (limited to 'gcc/rust/backend/rust-compile-struct-field-expr.h')
0 files changed, 0 insertions, 0 deletions