pretty print u128 with display
diff --git a/compiler/rustc_hir/src/attrs/pretty_printing.rs b/compiler/rustc_hir/src/attrs/pretty_printing.rs
index d13cd3f..ea86dfb 100644
--- a/compiler/rustc_hir/src/attrs/pretty_printing.rs
+++ b/compiler/rustc_hir/src/attrs/pretty_printing.rs
@@ -26,16 +26,6 @@ pub trait PrintAttribute {
fn print_attribute(&self, p: &mut Printer);
}
-impl PrintAttribute for u128 {
- fn should_render(&self) -> bool {
- true
- }
-
- fn print_attribute(&self, p: &mut Printer) {
- p.word(self.to_string())
- }
-}
-
impl<T: PrintAttribute> PrintAttribute for &T {
fn should_render(&self) -> bool {
T::should_render(self)
@@ -148,7 +138,7 @@ fn print_attribute(&self, p: &mut Printer) {
print_tup!(A B C D E F G H);
print_skip!(Span, (), ErrorGuaranteed);
-print_disp!(u16, bool, NonZero<u32>, Limit);
+print_disp!(u16, u128, bool, NonZero<u32>, Limit);
print_debug!(
Symbol,
Ident,