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 @@ -1866,6 +1866,10 @@ impl<'a> LoweringContext<'a> {
18661866 } else {
18671867 self . lower_node_id ( segment. id )
18681868 } ;
1869+ debug ! (
1870+ "lower_path_segment: ident={:?} original-id={:?} new-id={:?}" ,
1871+ segment. ident, segment. id, id,
1872+ ) ;
18691873
18701874 hir:: PathSegment :: new (
18711875 segment. ident ,
@@ -2955,6 +2959,9 @@ impl<'a> LoweringContext<'a> {
29552959 name : & mut Name ,
29562960 attrs : & hir:: HirVec < Attribute > ,
29572961 ) -> hir:: ItemKind {
2962+ debug ! ( "lower_use_tree(tree={:?})" , tree) ;
2963+ debug ! ( "lower_use_tree: vis = {:?}" , vis) ;
2964+
29582965 let path = & tree. prefix ;
29592966 let segments = prefix
29602967 . segments
@@ -4540,6 +4547,7 @@ impl<'a> LoweringContext<'a> {
45404547 VisibilityKind :: Public => hir:: VisibilityKind :: Public ,
45414548 VisibilityKind :: Crate ( sugar) => hir:: VisibilityKind :: Crate ( sugar) ,
45424549 VisibilityKind :: Restricted { ref path, id } => {
4550+ debug ! ( "lower_visibility: restricted path id = {:?}" , id) ;
45434551 let lowered_id = if let Some ( owner) = explicit_owner {
45444552 self . lower_node_id_with_owner ( id, owner)
45454553 } else {
You can’t perform that action at this time.
0 commit comments