Skip to content

Commit 627b469

Browse files
committed
Make pretty printing TyKind::Def do something
1 parent bd949ed commit 627b469

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
@@ -385,7 +385,7 @@ impl<'a> State<'a> {
385385
&f.param_names[..],
386386
);
387387
}
388-
hir::TyKind::Def(..) => {}
388+
hir::TyKind::Def(..) => self.s.word("/*impl Trait*/"),
389389
hir::TyKind::Path(ref qpath) => self.print_qpath(qpath, false),
390390
hir::TyKind::TraitObject(bounds, ref lifetime) => {
391391
let mut first = true;

0 commit comments

Comments
 (0)