From: Philip Herron <herron.phi...@googlemail.com> gcc/rust/ChangeLog:
* typecheck/rust-tyty-subst.cc (SubstitutionRef::infer_substitions): remove debug Signed-off-by: Philip Herron <herron.phi...@googlemail.com> --- gcc/rust/typecheck/rust-tyty-subst.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gcc/rust/typecheck/rust-tyty-subst.cc b/gcc/rust/typecheck/rust-tyty-subst.cc index ead162a1898..817910b8e76 100644 --- a/gcc/rust/typecheck/rust-tyty-subst.cc +++ b/gcc/rust/typecheck/rust-tyty-subst.cc @@ -883,10 +883,6 @@ SubstitutionRef::infer_substitions (location_t locus) std::map<std::string, BaseType *> argument_mappings; for (auto &p : get_substs ()) { - rust_debug_loc (locus, "XXXXXXXXXXXXXXXXXXXXXX 1: [%s]", - p.need_substitution () ? "true" : "false"); - p.get_param_ty ()->debug (); - if (p.needs_substitution ()) { const HIR::GenericParam &generic = p.get_generic_param (); @@ -894,9 +890,6 @@ SubstitutionRef::infer_substitions (location_t locus) auto it = argument_mappings.find (symbol); bool have_mapping = it != argument_mappings.end (); - rust_debug_loc (locus, "XXXXXXXXXXXXXXX 2: [%s] [%s]", - have_mapping ? "true" : "false", symbol.c_str ()); - if (have_mapping) { args.push_back (SubstitutionArg (&p, it->second)); -- 2.49.0