File tree Expand file tree Collapse file tree 3 files changed +26
-415
lines changed Expand file tree Collapse file tree 3 files changed +26
-415
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 8762fc31db55c641083bf31539da3f079877c8b1
2
+ refs/heads/master: 48b048deb732b31d6768876074f7bc9d0e036645
3
3
refs/heads/snap-stage3: 235d77457d80b549dad3ac36d94f235208a1eafb
4
4
refs/heads/try: 49312a405e14a449b98fe0056b12a40ac128be4a
5
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change @@ -581,14 +581,6 @@ impl<'ast> Map<'ast> {
581
581
}
582
582
}
583
583
584
- pub fn get_foreign_vis ( & self , id : NodeId ) -> Visibility {
585
- let vis = self . expect_foreign_item ( id) . vis ; // read recorded by `expect_foreign_item`
586
- match self . find ( self . get_parent ( id) ) { // read recorded by `find`
587
- Some ( NodeItem ( i) ) => vis. inherit_from ( i. vis ) ,
588
- _ => vis
589
- }
590
- }
591
-
592
584
pub fn expect_item ( & self , id : NodeId ) -> & ' ast Item {
593
585
match self . find ( id) { // read recorded by `find`
594
586
Some ( NodeItem ( item) ) => item,
You can’t perform that action at this time.
0 commit comments