about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-19 09:04:41 +0000
committerbors <bors@rust-lang.org>2024-03-19 09:04:41 +0000
commit8579a1856a868033b792c08e5c73a7c9dbe4d273 (patch)
tree94a67bb532ddc73b0d0cfe99cf88631bfa898e48 /compiler/rustc_codegen_llvm/src
parent91b87c4f45633d58bbffb518539fe5ec16767951 (diff)
parent7c4b07d5e838268293d2d5c94e0a2454fdd54c6c (diff)
downloadrust-8579a1856a868033b792c08e5c73a7c9dbe4d273.tar.gz
rust-8579a1856a868033b792c08e5c73a7c9dbe4d273.zip
Auto merge of #119212 - w-utter:pretty-print-const-expr, r=compiler-errors
Fix representation when printing abstract consts

Previously, when printing a const generic expr, it would only display it as `{{const expr}}`. This allows for a more legible representation when printing these out.

I also zipped the types with their constants for abstract consts that contain function calls when using type annotations, eg: `foo(S: usize, true: bool) -> usize` insteaad of `foo(S, true): fn(usize, bool) -> usize` for conciseness.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions