aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-tree.cc
diff options
context:
space:
mode:
authorFaisal Abbas <90.abbasfaisal@gmail.com>2022-09-04 16:07:43 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2023-01-31 14:16:51 +0100
commit689a5c6711b8217158988763ba25959f8112dcfc (patch)
tree6cae8a422e90284bcc28b57cd300f3f0a363c9f6 /gcc/rust/backend/rust-tree.cc
parent0fffc0e772d612d5c6ad72a632ac80b43eca1950 (diff)
downloadgcc-689a5c6711b8217158988763ba25959f8112dcfc.zip
gcc-689a5c6711b8217158988763ba25959f8112dcfc.tar.gz
gcc-689a5c6711b8217158988763ba25959f8112dcfc.tar.bz2
gccrs: bugfix: initialize slice from array in const context
gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-stmt.cc (TypeCheckStmt::visit): Turn constant item typechecking into a coercion site instead of a unify site. gcc/testsuite/ChangeLog: * rust/compile/const6.rs: New test. Signed-off-by: Faisal Abbas <90.abbasfaisal@gmail.com>
Diffstat (limited to 'gcc/rust/backend/rust-tree.cc')
0 files changed, 0 insertions, 0 deletions