File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -595,10 +595,11 @@ class ImplItemNode extends ImplOrTraitItemNode instanceof Impl {
595595 exists ( TraitItemNode trait |
596596 trait = this .resolveTraitTy ( ) and
597597 trait .hasCanonicalPath ( c2 ) and
598- if this .hasCanonicalPath ( c2 )
598+ if trait .hasCanonicalPath ( c1 )
599599 then c1 = c2
600600 else (
601- c2 = c1 .getADependency ( ) or c1 = c2 .getADependency ( )
601+ c2 = c1 .getADependency ( ) or
602+ c1 = c2 .getADependency ( )
602603 )
603604 )
604605 }
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ canonicalPath
2929| regular.rs:69:1:71:1 | fn is_number_or_letter | test::regular::is_number_or_letter |
3030| regular.rs:73:1:75:1 | trait Abs | test::regular::Abs |
3131| regular.rs:74:5:74:25 | fn abs | <_ as test::regular::Abs>::abs |
32+ | regular.rs:77:1:85:1 | impl Abs for i32 { ... } | <core::i32 as test::regular::Abs> |
33+ | regular.rs:78:5:84:5 | fn abs | <core::i32 as test::regular::Abs>::abs |
3234canonicalPaths
3335| anonymous.rs:1:1:1:26 | use ...::Trait | None | None |
3436| anonymous.rs:3:1:32:1 | fn canonicals | repo::test | crate::anonymous::canonicals |
You can’t perform that action at this time.
0 commit comments