Skip to content

Commit 016ccf8

Browse files
committed
include ADT user-ty in output
1 parent e84db9b commit 016ccf8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/librustc_mir/util/pretty.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,11 @@ impl<'cx, 'gcx, 'tcx> Visitor<'tcx> for ExtraComments<'cx, 'gcx, 'tcx> {
432432
self.push(&format!("+ movability: {:?}", movability));
433433
}
434434

435+
AggregateKind::Adt(_, _, _, Some(user_ty), _) => {
436+
self.push("adt");
437+
self.push(&format!("+ user_ty: {:?}", user_ty));
438+
}
439+
435440
_ => {}
436441
},
437442

0 commit comments

Comments
 (0)