From 710662c8ac88d18ff252718012a69ff96b5343e8 Mon Sep 17 00:00:00 2001 From: Camille GILLOT Date: Wed, 2 Feb 2022 12:44:51 +0100 Subject: Remove defaultness from ImplItem. --- compiler/rustc_hir_pretty/src/lib.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'compiler/rustc_hir_pretty/src') diff --git a/compiler/rustc_hir_pretty/src/lib.rs b/compiler/rustc_hir_pretty/src/lib.rs index a47ebaf1237..90833ffef95 100644 --- a/compiler/rustc_hir_pretty/src/lib.rs +++ b/compiler/rustc_hir_pretty/src/lib.rs @@ -923,7 +923,6 @@ impl<'a> State<'a> { self.hardbreak_if_not_bol(); self.maybe_print_comment(ii.span.lo()); self.print_outer_attributes(self.attrs(ii.hir_id())); - self.print_defaultness(ii.defaultness); match ii.kind { hir::ImplItemKind::Const(ref ty, expr) => { -- cgit 1.4.1-3-g733a5