diff options
| author | Matthew Jasper <mjjasper1@gmail.com> | 2020-05-10 12:06:01 +0100 |
|---|---|---|
| committer | Matthew Jasper <mjjasper1@gmail.com> | 2020-06-11 16:24:01 +0100 |
| commit | d77e86142fa3ce3ee230dbbbceab7cc8ed8a499d (patch) | |
| tree | 353f41ab6768717bb7a07b94972e46e13fdcca72 /src | |
| parent | b87e8eae29014ed3f07cc6c736100021facd8d48 (diff) | |
| download | rust-d77e86142fa3ce3ee230dbbbceab7cc8ed8a499d.tar.gz rust-d77e86142fa3ce3ee230dbbbceab7cc8ed8a499d.zip | |
Make pretty printing `TyKind::Def` do something
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_hir_pretty/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_hir_pretty/lib.rs b/src/librustc_hir_pretty/lib.rs index da8956ccb4d..ad22eaf7f10 100644 --- a/src/librustc_hir_pretty/lib.rs +++ b/src/librustc_hir_pretty/lib.rs @@ -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; |
