aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-block.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-03-09 15:35:18 +0000
committerPhilip Herron <herron.philip@googlemail.com>2021-03-09 18:18:35 +0000
commit01898e7cf2746e4dae0bee81ff5adfc1c00ae635 (patch)
tree9e8518e0c4d7f08511b9a0ae448e055a63fa1870 /gcc/rust/backend/rust-compile-block.h
parent0b35f5f10dc9d773b6cdaf60a30ce3e76d39bb35 (diff)
downloadgcc-01898e7cf2746e4dae0bee81ff5adfc1c00ae635.zip
gcc-01898e7cf2746e4dae0bee81ff5adfc1c00ae635.tar.gz
gcc-01898e7cf2746e4dae0bee81ff5adfc1c00ae635.tar.bz2
Separate function definitions from function pointers.
Function definitions can have substations (generics) where as function pointers cannot. These are distinct elements and their separation is important to support wildcards (inference variables) on BareFunctionTypes. To fix this the patch leverages the wrapper TyCtx which denotes a type that must be infered. Fixes #269
Diffstat (limited to 'gcc/rust/backend/rust-compile-block.h')
0 files changed, 0 insertions, 0 deletions