File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1867,6 +1867,10 @@ impl<'a> LoweringContext<'a> {
18671867 } else {
18681868 self . lower_node_id ( segment. id )
18691869 } ;
1870+ debug ! (
1871+ "lower_path_segment: ident={:?} original-id={:?} new-id={:?}" ,
1872+ segment. ident, segment. id, id,
1873+ ) ;
18701874
18711875 hir:: PathSegment :: new (
18721876 segment. ident ,
@@ -2953,6 +2957,9 @@ impl<'a> LoweringContext<'a> {
29532957 name : & mut Name ,
29542958 attrs : & hir:: HirVec < Attribute > ,
29552959 ) -> hir:: ItemKind {
2960+ debug ! ( "lower_use_tree(tree={:?})" , tree) ;
2961+ debug ! ( "lower_use_tree: vis = {:?}" , vis) ;
2962+
29562963 let path = & tree. prefix ;
29572964 let segments = prefix
29582965 . segments
@@ -4538,6 +4545,7 @@ impl<'a> LoweringContext<'a> {
45384545 VisibilityKind :: Public => hir:: VisibilityKind :: Public ,
45394546 VisibilityKind :: Crate ( sugar) => hir:: VisibilityKind :: Crate ( sugar) ,
45404547 VisibilityKind :: Restricted { ref path, id } => {
4548+ debug ! ( "lower_visibility: restricted path id = {:?}" , id) ;
45414549 let lowered_id = if let Some ( owner) = explicit_owner {
45424550 self . lower_node_id_with_owner ( id, owner)
45434551 } else {
You can’t perform that action at this time.
0 commit comments