From: Philip Herron Date: Fri, 27 Jan 2023 18:49:53 +0000 (+0000) Subject: gccrs: Add missing param subst callback X-Git-Tag: basepoints/gcc-14~135 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31f1e59962b81408e37ac4f46f6b39456ee54b21;p=thirdparty%2Fgcc.git gccrs: Add missing param subst callback Signed-off-by: Philip Herron gcc/rust/ChangeLog: * typecheck/rust-tyty-subst.cc: add missing callback --- diff --git a/gcc/rust/typecheck/rust-tyty-subst.cc b/gcc/rust/typecheck/rust-tyty-subst.cc index 0e181efb359e..7f5bb22687d5 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;