aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-05-20 17:35:35 +0100
committerPhilip Herron <philip.herron@embecosm.com>2022-05-23 11:27:24 +0100
commita647c005908d79bc6b50739c43b7ac105bc193a9 (patch)
tree7c197b54d3e150c643b46ebfadb709ef83befa73 /gcc/rust/resolve
parent9204e7a1ac617126b65c27668524aebf8f65f134 (diff)
downloadgcc-a647c005908d79bc6b50739c43b7ac105bc193a9.zip
gcc-a647c005908d79bc6b50739c43b7ac105bc193a9.tar.gz
gcc-a647c005908d79bc6b50739c43b7ac105bc193a9.tar.bz2
Make TyTy::BaseType::destructure recursive
In the case of Generic Associated Types we end up placeholders->projections->generic-param->i32 This means we need to keep destructuring the TyTy object until we finally get the real type at the end. In order to do this safely we need to ensure we add in recursion limits and apply this where it matters such as compiling types in general too.
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions