aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-context.h
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2021-08-31 21:05:18 +0200
committerMark Wielaard <mark@klomp.org>2021-08-31 22:17:31 +0200
commitc998198c669c5a8e63b662c03806b0bd5398bd28 (patch)
treedbaef24c82ae59840b2d3803efa90b8368b812ee /gcc/rust/backend/rust-compile-context.h
parent34969c14bed456b8a4cd76d71319b75342825878 (diff)
downloadgcc-c998198c669c5a8e63b662c03806b0bd5398bd28.zip
gcc-c998198c669c5a8e63b662c03806b0bd5398bd28.tar.gz
gcc-c998198c669c5a8e63b662c03806b0bd5398bd28.tar.bz2
StructExprUnit doesn't really exist
A StructExprUnit is parsed as an IdentifierExpr. An IdentifierExpr, which is what we call a single segment PathInExpression. After type checking, when generating gcc generic trees, if the IdentifierExpr is a type reference (which must be a unit struct), then a unit expression is generated. Remove the AST and HIR StructExprUnit classes which are never used.
Diffstat (limited to 'gcc/rust/backend/rust-compile-context.h')
0 files changed, 0 insertions, 0 deletions