File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
test/library-tests/path-resolution Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ private class VariantItemNode extends ItemNode instanceof Variant {
321
321
result = super .getEnum ( ) .getGenericParamList ( ) .getTypeParam ( i )
322
322
}
323
323
324
- override Visibility getVisibility ( ) { result = Variant . super .getVisibility ( ) }
324
+ override Visibility getVisibility ( ) { result = super . getEnum ( ) .getVisibility ( ) }
325
325
}
326
326
327
327
class FunctionItemNode extends AssocItemNode instanceof Function {
Original file line number Diff line number Diff line change @@ -514,7 +514,7 @@ mod m21 {
514
514
} ;
515
515
516
516
fn f ( ) {
517
- let _ = MyEnum :: A ; // $ MISSING: item=I104
517
+ let _ = MyEnum :: A ; // $ item=I104
518
518
let _ = MyStruct { } ; // $ item=I106
519
519
}
520
520
}
Original file line number Diff line number Diff line change @@ -232,6 +232,7 @@ resolvePath
232
232
| main.rs:512:13:512:32 | ...::MyStruct | main.rs:502:9:502:28 | struct MyStruct |
233
233
| main.rs:513:13:513:16 | self | main.rs:502:9:502:28 | struct MyStruct |
234
234
| main.rs:517:21:517:26 | MyEnum | main.rs:498:9:500:9 | enum MyEnum |
235
+ | main.rs:517:21:517:29 | ...::A | main.rs:499:13:499:13 | A |
235
236
| main.rs:518:21:518:28 | MyStruct | main.rs:502:9:502:28 | struct MyStruct |
236
237
| main.rs:524:5:524:6 | my | main.rs:1:1:1:7 | mod my |
237
238
| main.rs:524:5:524:14 | ...::nested | my.rs:1:1:1:15 | mod nested |
You can’t perform that action at this time.
0 commit comments