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> {
1866
1866
} else {
1867
1867
self . lower_node_id ( segment. id )
1868
1868
} ;
1869
+ debug ! (
1870
+ "lower_path_segment: ident={:?} original-id={:?} new-id={:?}" ,
1871
+ segment. ident, segment. id, id,
1872
+ ) ;
1869
1873
1870
1874
hir:: PathSegment :: new (
1871
1875
segment. ident ,
@@ -2955,6 +2959,9 @@ impl<'a> LoweringContext<'a> {
2955
2959
name : & mut Name ,
2956
2960
attrs : & hir:: HirVec < Attribute > ,
2957
2961
) -> hir:: ItemKind {
2962
+ debug ! ( "lower_use_tree(tree={:?})" , tree) ;
2963
+ debug ! ( "lower_use_tree: vis = {:?}" , vis) ;
2964
+
2958
2965
let path = & tree. prefix ;
2959
2966
let segments = prefix
2960
2967
. segments
@@ -4540,6 +4547,7 @@ impl<'a> LoweringContext<'a> {
4540
4547
VisibilityKind :: Public => hir:: VisibilityKind :: Public ,
4541
4548
VisibilityKind :: Crate ( sugar) => hir:: VisibilityKind :: Crate ( sugar) ,
4542
4549
VisibilityKind :: Restricted { ref path, id } => {
4550
+ debug ! ( "lower_visibility: restricted path id = {:?}" , id) ;
4543
4551
let lowered_id = if let Some ( owner) = explicit_owner {
4544
4552
self . lower_node_id_with_owner ( id, owner)
4545
4553
} else {
You can’t perform that action at this time.
0 commit comments