Skip to content

Commit 416e412

Browse files
committed
rollup merge of #24930: nrc/save-fn
2 parents 62bd19f + de2a4c0 commit 416e412

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/librustc_trans/save/mod.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,8 @@ impl <'l, 'tcx> DxrVisitor<'l, 'tcx> {
295295
return;
296296
}
297297

298+
debug!("process_method: {}:{}", id, token::get_name(name));
299+
298300
let mut scope_id;
299301
// The qualname for a method is the trait name or name of the struct in an impl in
300302
// which the method is declared in, followed by the method's name.
@@ -704,7 +706,7 @@ impl <'l, 'tcx> DxrVisitor<'l, 'tcx> {
704706

705707
self.process_generic_params(type_parameters, item.span, "", item.id);
706708
for impl_item in impl_items {
707-
visit::walk_impl_item(self, impl_item);
709+
self.visit_impl_item(impl_item);
708710
}
709711
}
710712

@@ -1258,7 +1260,7 @@ impl<'l, 'tcx, 'v> Visitor<'v> for DxrVisitor<'l, 'tcx> {
12581260
match impl_item.node {
12591261
ast::ConstImplItem(ref ty, ref expr) => {
12601262
self.process_const(impl_item.id, &impl_item.ident,
1261-
impl_item.span, &*ty, &*expr);
1263+
impl_item.span, &ty, &expr);
12621264
}
12631265
ast::MethodImplItem(ref sig, ref body) => {
12641266
self.process_method(sig, Some(body), impl_item.id,

0 commit comments

Comments
 (0)