Skip to content

Commit 0d5b724

Browse files
committed
Print GenericArg
1 parent 826f29d commit 0d5b724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/print/pretty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2619,7 +2619,7 @@ define_print_and_forward_display! {
26192619
GenericArgKind::Lifetime(lt) => p!(print(lt)),
26202620
GenericArgKind::Type(ty) => p!(print(ty)),
26212621
GenericArgKind::Const(ct) => p!(print(ct)),
2622-
GenericArgKind::Constness(_) => {},
2622+
GenericArgKind::Constness(ca) => p!("{ca:?}"),
26232623
}
26242624
}
26252625
}

0 commit comments

Comments
 (0)