File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -883,20 +883,13 @@ SubstitutionRef::infer_substitions (location_t locus)
883
883
std::map<std::string, BaseType *> argument_mappings;
884
884
for (auto &p : get_substs ())
885
885
{
886
- rust_debug_loc (locus, " XXXXXXXXXXXXXXXXXXXXXX 1: [%s]" ,
887
- p.need_substitution () ? " true" : " false" );
888
- p.get_param_ty ()->debug ();
889
-
890
886
if (p.needs_substitution ())
891
887
{
892
888
const HIR::GenericParam &generic = p.get_generic_param ();
893
889
const std::string &symbol = p.get_param_ty ()->get_symbol ();
894
890
auto it = argument_mappings.find (symbol);
895
891
bool have_mapping = it != argument_mappings.end ();
896
892
897
- rust_debug_loc (locus, " XXXXXXXXXXXXXXX 2: [%s] [%s]" ,
898
- have_mapping ? " true" : " false" , symbol.c_str ());
899
-
900
893
if (have_mapping)
901
894
{
902
895
args.push_back (SubstitutionArg (&p, it->second ));
You can’t perform that action at this time.
0 commit comments