aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-expr.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-08-08 17:05:54 +0100
committerPhilip Herron <philip.herron@embecosm.com>2022-08-08 17:24:48 +0100
commit92eef6c33d49137707e5b3962822c6dded1f3c79 (patch)
tree64afc1dfa0d48ff24e387ff7d23e897e8146cca2 /gcc/rust/backend/rust-compile-expr.h
parentb9840366b6e4f2bba8f3c67a4ee805d9f4f3c1c5 (diff)
downloadgcc-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