]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: Add missing param subst callback
authorPhilip Herron <herron.philip@googlemail.com>
Fri, 27 Jan 2023 18:49:53 +0000 (18:49 +0000)
committerPhilip Herron <herron.philip@googlemail.com>
Sun, 5 Feb 2023 00:10:48 +0000 (00:10 +0000)
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
gcc/rust/ChangeLog:

* typecheck/rust-tyty-subst.cc: add missing callback

gcc/rust/typecheck/rust-tyty-subst.cc

index 0e181efb359e64479ef83238351823e50a3b4c1d..7f5bb22687d5c20be211c2f0407dabcf78f07dad 100644 (file)
@@ -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;