Skip to content

Commit d77e861

Browse files
committed
Make pretty printing TyKind::Def do something
1 parent b87e8ea commit d77e861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_hir_pretty/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ impl<'a> State<'a> {
407407
&f.param_names[..],
408408
);
409409
}
410-
hir::TyKind::Def(..) => {}
410+
hir::TyKind::Def(..) => self.s.word("/*impl Trait*/"),
411411
hir::TyKind::Path(ref qpath) => self.print_qpath(qpath, false),
412412
hir::TyKind::TraitObject(bounds, ref lifetime) => {
413413
let mut first = true;

0 commit comments

Comments
 (0)