aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/rust-hir-dump.cc
diff options
context:
space:
mode:
authorbl7awy <mahadelr19@gmail.com>2023-02-28 20:53:01 +0300
committerPhilip Herron <philip.herron@embecosm.com>2023-03-01 00:16:04 +0000
commit193c21c85b4b3f603b1b6280779c758d35570446 (patch)
tree823d15cfd3a0985477001c472d10cd5f561936f6 /gcc/rust/hir/rust-hir-dump.cc
parent9284e20b6542bad3ac2330b8ac6d41826d6c893b (diff)
downloadgcc-193c21c85b4b3f603b1b6280779c758d35570446.zip
gcc-193c21c85b4b3f603b1b6280779c758d35570446.tar.gz
gcc-193c21c85b4b3f603b1b6280779c758d35570446.tar.bz2
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/hir/rust-hir-dump.cc')
0 files changed, 0 insertions, 0 deletions