aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-05-11 09:40:31 +0000
committerGitHub <noreply@github.com>2021-05-11 09:40:31 +0000
commit7c45fcb6e23f86a7f69ef4136099d5a8541afde6 (patch)
tree43459717de6d35d858dce11932a29700444967d6 /gcc/rust/backend
parent7e66d683186ffdcca835bad1a90081fe56be8822 (diff)
parent99d1330b79a6b8457b45bba2a7b9940b1f2e9acd (diff)
downloadgcc-7c45fcb6e23f86a7f69ef4136099d5a8541afde6.zip
gcc-7c45fcb6e23f86a7f69ef4136099d5a8541afde6.tar.gz
gcc-7c45fcb6e23f86a7f69ef4136099d5a8541afde6.tar.bz2
Merge #424
424: Support Impl items to also be generic r=philberty a=philberty Handle inherited type arguments for methods MethodCallExpr's support generic arguments so we need to handle adjusting any inherited type arguments from the receiver and apply them to the func. This changes the handle_substitutions function for ADT, FnType and Params to be permissive that we can send single arguments to partially substitute the type such as the case when we inherit arguments in methods calls. This is safe because the other interfaces enforce the type checking and number of arguments etc. Fixes #423 #417 Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions