gccrs: Unit structs are not concrete when they need substitutions
authorPhilip Herron <philip.herron@embecosm.com>
Wed, 31 Aug 2022 16:16:13 +0000 (17:16 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 31 Jan 2023 13:16:50 +0000 (14:16 +0100)
commit0fffc0e772d612d5c6ad72a632ac80b43eca1950
tree5688bd62b5eeeabb93f50abe329edce9cc8fb733
parente641158a5f5cd80ee2ce32fded1179ce1b3e1193
gccrs: Unit structs are not concrete when they need substitutions

Fixes #1518

gcc/rust/ChangeLog:

* typecheck/rust-tyty.h: Fix `is_concrete` for unit types with
substitutions.
gcc/rust/typecheck/rust-tyty.h