aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-04-30 11:48:20 +0100
committerPhilip Herron <philip.herron@embecosm.com>2021-04-30 11:57:48 +0100
commitb7d95ea80be40c5ee468a5549d84e058a21fc62c (patch)
tree92dfd62b9f3ebf2d73a0bfcaf2b59c513191aead /gcc/rust/backend
parent91ca22c7b9141364aa4bebc61e46ae1518b793f3 (diff)
downloadgcc-b7d95ea80be40c5ee468a5549d84e058a21fc62c.zip
gcc-b7d95ea80be40c5ee468a5549d84e058a21fc62c.tar.gz
gcc-b7d95ea80be40c5ee468a5549d84e058a21fc62c.tar.bz2
Add initial support for defaults on generic parameters
In the case that the GenericArgs to a type/fn are less than the expected number of required substitutions we need to look for what is the min number of required substitutions which might be zero if each TypeParam has a default. In the event we have less than expected arguments we can substitute the defaults if available as the GenericArgumentMappings. Addresses: #307
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions