From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id 14EE43858C39; Tue, 7 Feb 2023 17:56:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 14EE43858C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675792561; bh=sdvGE1gbq0V0fAFXC21ma2eGR9zSGXvO8JvKpT19jtg=; h=From:To:Subject:Date:From; b=w01bnqHncFk44JMudALY2Vah0hYvVshHmnOY9uMl1CVhgNWmQVJEcjeZMfmFJpkk0 aI+jWTBzgRFkw8NTZFNzctBHAo/+XEZBwzEeMfBDTAAe7fN7Xca2/EAFx0OI1gcIFR Bx1rW0bBznPgoubneBxcTKAOH1FEQTyRTtv5GcT4= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Thomas Schwinge To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/rust/master] gccrs: Add missing param subst callback X-Act-Checkin: gcc X-Git-Author: Philip Herron X-Git-Refname: refs/heads/devel/rust/master X-Git-Oldrev: fc6c5f7dc2062d222a99157fb514d71ad87b1b45 X-Git-Newrev: b5719d74b349bf96735851844158ea9b5d65db85 Message-Id: <20230207175601.14EE43858C39@sourceware.org> Date: Tue, 7 Feb 2023 17:56:01 +0000 (GMT) List-Id: https://gcc.gnu.org/g:b5719d74b349bf96735851844158ea9b5d65db85 commit b5719d74b349bf96735851844158ea9b5d65db85 Author: Philip Herron Date: Fri Jan 27 18:49:53 2023 +0000 gccrs: Add missing param subst callback Signed-off-by: Philip Herron gcc/rust/ChangeLog: * typecheck/rust-tyty-subst.cc: add missing callback Diff: --- gcc/rust/typecheck/rust-tyty-subst.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/rust/typecheck/rust-tyty-subst.cc b/gcc/rust/typecheck/rust-tyty-subst.cc index 0e181efb359..7f5bb22687d 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;