@@ -249,7 +249,7 @@ impl <'l, 'tcx> DumpCsvVisitor<'l, 'tcx> {
249
249
match def {
250
250
def:: DefMod ( _) |
251
251
def:: DefForeignMod ( _) => Some ( recorder:: ModRef ) ,
252
- def:: DefStruct ( _) => Some ( recorder:: StructRef ) ,
252
+ def:: DefStruct ( _) => Some ( recorder:: TypeRef ) ,
253
253
def:: DefTy ( ..) |
254
254
def:: DefAssociatedTy ( ..) |
255
255
def:: DefTrait ( _) => Some ( recorder:: TypeRef ) ,
@@ -785,7 +785,7 @@ impl <'l, 'tcx> DumpCsvVisitor<'l, 'tcx> {
785
785
sub_span,
786
786
def. def_id ( ) ,
787
787
self . cur_scope ) ,
788
- def:: DefStruct ( def_id) => self . fmt . ref_str ( recorder:: StructRef ,
788
+ def:: DefStruct ( def_id) => self . fmt . ref_str ( recorder:: TypeRef ,
789
789
span,
790
790
sub_span,
791
791
def_id,
@@ -886,7 +886,7 @@ impl <'l, 'tcx> DumpCsvVisitor<'l, 'tcx> {
886
886
let struct_def = match * ty {
887
887
ty:: TyStruct ( def_id, _) => {
888
888
let sub_span = self . span . span_for_last_ident ( path. span ) ;
889
- self . fmt . ref_str ( recorder:: StructRef ,
889
+ self . fmt . ref_str ( recorder:: TypeRef ,
890
890
path. span ,
891
891
sub_span,
892
892
def_id,
@@ -918,7 +918,7 @@ impl <'l, 'tcx> DumpCsvVisitor<'l, 'tcx> {
918
918
None => { }
919
919
}
920
920
921
- self . visit_expr ( & * field. expr )
921
+ self . visit_expr ( & field. expr )
922
922
}
923
923
visit:: walk_expr_opt ( self , base)
924
924
}
0 commit comments