about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-03-23 08:35:36 +0100
committerGitHub <noreply@github.com>2023-03-23 08:35:36 +0100
commit477ce585d420735ef536c3dd1417911fbe7e9a70 (patch)
tree05fdc6e5771d72841f82b8ce3ba68e94e1ebd309 /compiler/rustc_codegen_llvm/src/builder.rs
parente44564819c949b98d6dabfb59fe41f4124bce3ab (diff)
parent3f7aeb30ae966bf7a73735169b4243727f5c456b (diff)
downloadrust-477ce585d420735ef536c3dd1417911fbe7e9a70.tar.gz
rust-477ce585d420735ef536c3dd1417911fbe7e9a70.zip
Rollup merge of #109506 - BoxyUwU:debugable_bound_var_printing, r=compiler-errors
make param bound vars visibly bound vars with -Zverbose

I was trying to debug some type/const bound var stuff and it was shockingly tricky due to the fact that even with `-Zverbose` enabled the `T` in `for<T> T: Trait` prints as `T` making it seem like its `TyKind::Param` when it is infact `TyKind::Bound`. This PR "fixes" this when `-Zverbose` is set to allow rendering it as `^T` or `^1_T` depending on binder depth.

r? ```@compiler-errors```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions