diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-08-08 17:05:54 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2022-08-08 17:24:48 +0100 |
commit | 92eef6c33d49137707e5b3962822c6dded1f3c79 (patch) | |
tree | 64afc1dfa0d48ff24e387ff7d23e897e8146cca2 /gcc/rust/backend/rust-compile-expr.h | |
parent | b9840366b6e4f2bba8f3c67a4ee805d9f4f3c1c5 (diff) | |
download | gcc-92eef6c33d49137707e5b3962822c6dded1f3c79.zip gcc-92eef6c33d49137707e5b3962822c6dded1f3c79.tar.gz gcc-92eef6c33d49137707e5b3962822c6dded1f3c79.tar.bz2 |
Fix type inference on unit-structs
When we initilize a structure that contains an identifier for the value
which resolves to a generic unit-struct. The unit struct has no fields
but it also contains a reference to a generic parameter which needs to be
infered this updates the code for identifiers to act like a
PathInExpression to infer the generic parameters when its unit struct only.
Fixes #1447
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.h')
0 files changed, 0 insertions, 0 deletions