diff options
author | bl7awy <mahadelr19@gmail.com> | 2023-02-28 20:53:01 +0300 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:19:01 +0100 |
commit | 525110ae4951fcc1ca3e858d6afa23823b79b8f0 (patch) | |
tree | e3f5552c614c3b25c17e8881dd37bc0abbce17c8 /gcc/rust/Make-lang.in | |
parent | 8a8436aa6a63dbfdee6c18f2b9533720b83f2624 (diff) | |
download | gcc-525110ae4951fcc1ca3e858d6afa23823b79b8f0.zip gcc-525110ae4951fcc1ca3e858d6afa23823b79b8f0.tar.gz gcc-525110ae4951fcc1ca3e858d6afa23823b79b8f0.tar.bz2 |
gccrs: typecheck: Fix casting error behind generics
gcc/rust/ChangeLog:
* typecheck/rust-casts.cc (TypeCastRules::cast_rules): Perform destructure on `from` type.
gcc/testsuite/ChangeLog:
* rust/compile/cast_generics.rs: New test.
Signed-off-by: Mahmoud Mohamed <mahadelr19@gmail.com>
Diffstat (limited to 'gcc/rust/Make-lang.in')
0 files changed, 0 insertions, 0 deletions