Make pretty printing `TyKind::Def` do something

This commit is contained in:
Matthew Jasper 2020-05-10 12:06:01 +01:00
parent b87e8eae29
commit d77e86142f
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ impl<'a> State<'a> {
&f.param_names[..],
);
}
hir::TyKind::Def(..) => {}
hir::TyKind::Def(..) => self.s.word("/*impl Trait*/"),
hir::TyKind::Path(ref qpath) => self.print_qpath(qpath, false),
hir::TyKind::TraitObject(bounds, ref lifetime) => {
let mut first = true;