Skip to content

Commit ccb9503

Browse files
committed
---
yaml --- r: 173439 b: refs/heads/snap-stage3 c: 33fd10d h: refs/heads/master i: 173437: e859187 173435: 99e1af6 173431: fe20b24 173423: 3196813 173407: d7854d1 173375: 851da16 173311: 60f4a58 v: v3
1 parent 4dec97d commit ccb9503

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 896cb36ecab3eaeb7f101087e030e43771eca5ca
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 32690b586d6bbe2541ec94adbdc7c226978332c5
4+
refs/heads/snap-stage3: 33fd10d5e0bac969b522b0a9b1bcc1518d1554b2
55
refs/heads/try: 957472483d3a2f43c0e4f7c2056280a1022af93c
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/librustc_trans/save/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ impl <'l, 'tcx> DxrVisitor<'l, 'tcx> {
278278
// The qualname for a method is the trait name or name of the struct in an impl in
279279
// which the method is declared in followed by the method's name.
280280
let mut qualname = match ty::impl_of_method(&self.analysis.ty_cx,
281-
ast_util::local_def(method.id)) {
281+
ast_util::local_def(method.id)) {
282282
Some(impl_id) => match self.analysis.ty_cx.map.get(impl_id.node) {
283283
NodeItem(item) => {
284284
scope_id = item.id;
@@ -349,7 +349,7 @@ impl <'l, 'tcx> DxrVisitor<'l, 'tcx> {
349349
.and_then(|def_id| {
350350
if match def_id {
351351
ty::MethodTraitItemId(def_id) => {
352-
method.id != 0 && def_id.node == 0
352+
def_id.node != 0 && def_id != ast_util::local_def(method.id)
353353
}
354354
ty::TypeTraitItemId(_) => false,
355355
} {

0 commit comments

Comments
 (0)