aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-struct-field-expr.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-08-03 13:14:54 +0100
committerPhilip Herron <philip.herron@embecosm.com>2022-08-04 16:52:52 +0100
commit5d17a8b6b2c086d4df516de06ddacdf88728f6ba (patch)
treef35b2207aeda6e2fa6fde7fa36f986d1f9667f3b /gcc/rust/backend/rust-compile-struct-field-expr.h
parent79d0f29464fc0aa68af7b317964aff4bc35af59a (diff)
downloadgcc-5d17a8b6b2c086d4df516de06ddacdf88728f6ba.zip
gcc-5d17a8b6b2c086d4df516de06ddacdf88728f6ba.tar.gz
gcc-5d17a8b6b2c086d4df516de06ddacdf88728f6ba.tar.bz2
Support Autoderef coercions
This is an incremental approach to get our coercion sites more acurate to rustc. This allows us to support coercions which require a deref by sharing the code from the autoderef cycle. The eventual goal here will allow us to remove the rust-tyty-coercion rules which is messy and cannot handle logic such as DST's very well. Fixes #1198
Diffstat (limited to 'gcc/rust/backend/rust-compile-struct-field-expr.h')
0 files changed, 0 insertions, 0 deletions