about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2024-06-30 13:33:33 -0400
committerTrevor Gross <tmgross@umich.edu>2024-06-30 13:36:44 -0400
commit69446e301cc271fca77b4d4f119540d6b82f1677 (patch)
tree7080fe69eb4c1eb8fcdac1f621f574d75b8e1478 /compiler/rustc_codegen_llvm/src
parent6c3485512fc95fa9c43cb831607bfec9d2153b6e (diff)
downloadrust-69446e301cc271fca77b4d4f119540d6b82f1677.tar.gz
rust-69446e301cc271fca77b4d4f119540d6b82f1677.zip
Print `TypeId` as hex for debugging
In <https://github.com/rust-lang/rust/pull/127134>, the `Debug` impl for
`TypeId` was changed to print a single integer rather than a tuple.
Change this again to print as hex for more concise and consistent
formatting, as was suggested.

Result:

    TypeId(0x1378bb1c0a0202683eb65e7c11f2e4d7)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions