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