diff options
author | Philip Herron <herron.philip@googlemail.com> | 2023-01-27 18:49:53 +0000 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-04-06 10:47:21 +0200 |
commit | 31f1e59962b81408e37ac4f46f6b39456ee54b21 (patch) | |
tree | f747728672e7f596a262450ffb6f79d6c1a0c730 | |
parent | 2f228578d56dd9a13111bd6a22df808b5da205e3 (diff) | |
download | gcc-31f1e59962b81408e37ac4f46f6b39456ee54b21.zip gcc-31f1e59962b81408e37ac4f46f6b39456ee54b21.tar.gz gcc-31f1e59962b81408e37ac4f46f6b39456ee54b21.tar.bz2 |
gccrs: Add missing param subst callback
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
gcc/rust/ChangeLog:
* typecheck/rust-tyty-subst.cc: add missing callback
-rw-r--r-- | gcc/rust/typecheck/rust-tyty-subst.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rust/typecheck/rust-tyty-subst.cc b/gcc/rust/typecheck/rust-tyty-subst.cc index 0e181ef..7f5bb22 100644 --- a/gcc/rust/typecheck/rust-tyty-subst.cc +++ b/gcc/rust/typecheck/rust-tyty-subst.cc @@ -141,6 +141,7 @@ SubstitutionParamMapping::fill_param_ty ( bound.handle_substitions (subst_mappings); param->set_ty_ref (type.get_ref ()); + subst_mappings.on_param_subst (*param, arg); } return true; |