@@ -295,6 +295,8 @@ impl <'l, 'tcx> DxrVisitor<'l, 'tcx> {
295
295
return ;
296
296
}
297
297
298
+ debug ! ( "process_method: {}:{}" , id, token:: get_name( name) ) ;
299
+
298
300
let mut scope_id;
299
301
// The qualname for a method is the trait name or name of the struct in an impl in
300
302
// which the method is declared in, followed by the method's name.
@@ -704,7 +706,7 @@ impl <'l, 'tcx> DxrVisitor<'l, 'tcx> {
704
706
705
707
self . process_generic_params ( type_parameters, item. span , "" , item. id ) ;
706
708
for impl_item in impl_items {
707
- visit :: walk_impl_item ( self , impl_item) ;
709
+ self . visit_impl_item ( impl_item) ;
708
710
}
709
711
}
710
712
@@ -1258,7 +1260,7 @@ impl<'l, 'tcx, 'v> Visitor<'v> for DxrVisitor<'l, 'tcx> {
1258
1260
match impl_item. node {
1259
1261
ast:: ConstImplItem ( ref ty, ref expr) => {
1260
1262
self . process_const ( impl_item. id , & impl_item. ident ,
1261
- impl_item. span , & * ty, & * expr) ;
1263
+ impl_item. span , & ty, & expr) ;
1262
1264
}
1263
1265
ast:: MethodImplItem ( ref sig, ref body) => {
1264
1266
self . process_method ( sig, Some ( body) , impl_item. id ,
0 commit comments