aboutsummaryrefslogtreecommitdiff
path: root/gcc/gsstruct.def
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-06-23 17:22:12 +0100
committerPhilip Herron <philip.herron@embecosm.com>2021-06-24 12:36:08 +0100
commit92a434a33904608f5659cf7b5d4df3d2a99bd5bd (patch)
tree02daa3d23d04cb9c950b15d5a7a94f171e1241db /gcc/gsstruct.def
parent23e748d7a6855ce132299cfef9692ee9c681de59 (diff)
downloadgcc-92a434a33904608f5659cf7b5d4df3d2a99bd5bd.zip
gcc-92a434a33904608f5659cf7b5d4df3d2a99bd5bd.tar.gz
gcc-92a434a33904608f5659cf7b5d4df3d2a99bd5bd.tar.bz2
Add support for nested functions
We missed that stmts in rust can be items like functions. This adds support for resolution and compilation of nested functions. Rust allows nested functions which are distinct to closures. Nested functions are not allowed to encapsulate the enclosing scope so they can be extracted as normal functions.
Diffstat (limited to 'gcc/gsstruct.def')
0 files changed, 0 insertions, 0 deletions