We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TyKind::Def
1 parent bd949ed commit 627b469Copy full SHA for 627b469
src/librustc_hir_pretty/lib.rs
@@ -385,7 +385,7 @@ impl<'a> State<'a> {
385
&f.param_names[..],
386
);
387
}
388
- hir::TyKind::Def(..) => {}
+ hir::TyKind::Def(..) => self.s.word("/*impl Trait*/"),
389
hir::TyKind::Path(ref qpath) => self.print_qpath(qpath, false),
390
hir::TyKind::TraitObject(bounds, ref lifetime) => {
391
let mut first = true;
0 commit comments