mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-07 08:26:14 +00:00
Value trees won't have scalar ptr at all, so we need a scalar int printing method anyway. This way we'll be able to share that method between all const representations.
For more information about how rustc works, see the rustc dev guide.