From 90070a8f4572d760f3e9fac4b1f7da815909fa59 Mon Sep 17 00:00:00 2001 From: Philip Herron Date: Fri, 1 Aug 2025 21:49:29 +0100 Subject: [PATCH] gccrs: remove old debug gcc/rust/ChangeLog: * typecheck/rust-tyty-subst.cc (SubstitutionRef::infer_substitions): remove debug Signed-off-by: Philip Herron --- 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 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.47.2