aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-expr.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-02-10 14:38:10 +0000
committerPhilip Herron <herron.philip@googlemail.com>2021-02-10 18:10:57 +0000
commitf10e695fc508c472c77e968e644f710806f82f54 (patch)
tree1628784a0b83981ea01f024e5989832edf447a1a /gcc/rust/ast/rust-expr.h
parentae273ffac99cb75d832a11a83fd63291bb74cbdc (diff)
downloadgcc-f10e695fc508c472c77e968e644f710806f82f54.zip
gcc-f10e695fc508c472c77e968e644f710806f82f54.tar.gz
gcc-f10e695fc508c472c77e968e644f710806f82f54.tar.bz2
Return expressions can be empty which us unit-type
The parser has the same bug as in #225 for break expressions. This tidies up the type resolver and GENERIC translation to handle the case where there is no return expression as well. Fixes #226
Diffstat (limited to 'gcc/rust/ast/rust-expr.h')
0 files changed, 0 insertions, 0 deletions