about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-18 09:57:07 +0000
committerbors <bors@rust-lang.org>2023-10-18 09:57:07 +0000
commite8b8c78d84572e5b2e69dc4cc378ebfefe38562d (patch)
treed46cc1e99ea0c2ae4e0bd61a3c45dbd3d02d6102 /compiler/rustc_codegen_llvm/src
parent6d7160ce97f4bbbd44991a7325077e08214e0ce2 (diff)
parent6fc6a6d7831e6b7b23e9e7b7c15c6461ecbac16c (diff)
downloadrust-e8b8c78d84572e5b2e69dc4cc378ebfefe38562d.tar.gz
rust-e8b8c78d84572e5b2e69dc4cc378ebfefe38562d.zip
Auto merge of #116815 - Nilstrieb:more-funny-pretty-printers, r=compiler-errors
Remove lots of generics from `ty::print`

All of these generics mostly resolve to the same thing, which means we can remove them, greatly simplifying the types involved in pretty printing and unlocking another simplification (that is not performed in this PR): Using `&mut self` instead of passing `self` through the return type.

cc `@eddyb` you probably know why it's like this, just checking in and making sure I didn't do anything bad

r? oli-obk
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions