aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-struct-field-expr.cc
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2024-11-05 17:35:37 +0000
committerPhilip Herron <philip.herron@embecosm.com>2024-11-05 18:34:21 +0000
commitdfbd71a9ed79a121d380f5240b5a72b3175c20a4 (patch)
treeb58ebbd3f1acb30632dbd778b9d36bf071a5e3bf /gcc/rust/backend/rust-compile-struct-field-expr.cc
parent9bcd87f48898d67d94073345f04df4b28a9d9b8e (diff)
downloadgcc-dfbd71a9ed79a121d380f5240b5a72b3175c20a4.zip
gcc-dfbd71a9ed79a121d380f5240b5a72b3175c20a4.tar.gz
gcc-dfbd71a9ed79a121d380f5240b5a72b3175c20a4.tar.bz2
gccrs: fix ICE for placeholder which is not setup
We can have a case where the placeholder is not configred and the can_resolve check is not detecting this case which can lead to ICE. gcc/rust/ChangeLog: * typecheck/rust-tyty.cc (PlaceholderType::can_resolve): check for empty mappings Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-struct-field-expr.cc')
0 files changed, 0 insertions, 0 deletions