aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-expr.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-07-19 19:32:41 +0100
committerPhilip Herron <philip.herron@embecosm.com>2021-07-19 19:38:51 +0100
commitf56781662f82dcbe1780cbe3e7eb4ac17f8156d0 (patch)
treec9119796d4330f6dda5d93f85de80044de723cb4 /gcc/rust/backend/rust-compile-expr.h
parent0cbd3afc714a1d874fd829108f9b51a44205c050 (diff)
downloadgcc-f56781662f82dcbe1780cbe3e7eb4ac17f8156d0.zip
gcc-f56781662f82dcbe1780cbe3e7eb4ac17f8156d0.tar.gz
gcc-f56781662f82dcbe1780cbe3e7eb4ac17f8156d0.tar.bz2
Assignments are a coercion site in rust
This implements the reference mutability coercion rules, where the base types must be compatible and the base can turn a mutable reference into a constant one. Address #434 Fixes #576
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.h')
0 files changed, 0 insertions, 0 deletions