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.
1 parent 8ac1a67 commit e1e04a8Copy full SHA for e1e04a8
compiler/rustc_middle/src/ty/print/pretty.rs
@@ -1396,7 +1396,9 @@ pub trait PrettyPrinter<'tcx>:
1396
) -> Result<Self::Const, Self::Error> {
1397
match scalar {
1398
Scalar::Ptr(ptr, _size) => self.pretty_print_const_scalar_ptr(ptr, ty),
1399
- Scalar::Int(int) => self.pretty_print_const_scalar_int(int, ty, true),
+ Scalar::Int(int) => {
1400
+ self.pretty_print_const_scalar_int(int, ty, /* print_ty */ true)
1401
+ }
1402
}
1403
1404
0 commit comments