https://gcc.gnu.org/g:90070a8f4572d760f3e9fac4b1f7da815909fa59

commit r16-3000-g90070a8f4572d760f3e9fac4b1f7da815909fa59
Author: Philip Herron <herron.phi...@googlemail.com>
Date:   Fri Aug 1 21:49:29 2025 +0100

    gccrs: remove old debug
    
    gcc/rust/ChangeLog:
    
            * typecheck/rust-tyty-subst.cc 
(SubstitutionRef::infer_substitions): remove debug
    
    Signed-off-by: Philip Herron <herron.phi...@googlemail.com>

Diff:
---
 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 ead162a1898d..817910b8e762 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));

Reply via email to