aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-context.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-03-18 15:25:34 +0000
committerPhilip Herron <herron.philip@googlemail.com>2021-03-19 08:44:25 +0000
commit1b0076675d8fec6df6d175fe84ff9d2fcba492af (patch)
tree3e9e5375c187afbe445d157f043f2c7083b3b83f /gcc/rust/backend/rust-compile-context.h
parentf0750d7091a7f9014d4327cc13f4625af2da2500 (diff)
downloadgcc-1b0076675d8fec6df6d175fe84ff9d2fcba492af.zip
gcc-1b0076675d8fec6df6d175fe84ff9d2fcba492af.tar.gz
gcc-1b0076675d8fec6df6d175fe84ff9d2fcba492af.tar.bz2
Pop return type context after resolving the block.
If type inference fails on the BlockExpr vs the expected return type, we will accidently leave trailing context on the return type stack.
Diffstat (limited to 'gcc/rust/backend/rust-compile-context.h')
0 files changed, 0 insertions, 0 deletions