aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2023-01-27 18:49:53 +0000
committerPhilip Herron <herron.philip@googlemail.com>2023-02-05 00:10:48 +0000
commitb5719d74b349bf96735851844158ea9b5d65db85 (patch)
treebb5051290a4bdb10d3452a3ef4533d0755083c54 /gcc
parentfc6c5f7dc2062d222a99157fb514d71ad87b1b45 (diff)
downloadgcc-b5719d74b349bf96735851844158ea9b5d65db85.zip
gcc-b5719d74b349bf96735851844158ea9b5d65db85.tar.gz
gcc-b5719d74b349bf96735851844158ea9b5d65db85.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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/typecheck/rust-tyty-subst.cc1
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;