diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-05-29 21:34:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-29 21:34:17 +0200 |
| commit | 9f83e56f0dcdfcfc93686302a0c975a5a430b2bc (patch) | |
| tree | 5b4a791a816565484d499ca48da99dbcce4f9976 /compiler/rustc_codegen_llvm/src | |
| parent | 3fead074911bc37914dd673ffea9895eb76e652c (diff) | |
| parent | 976adf3d6de5eb708cd9b346e7749eb2cac00ea9 (diff) | |
| download | rust-9f83e56f0dcdfcfc93686302a0c975a5a430b2bc.tar.gz rust-9f83e56f0dcdfcfc93686302a0c975a5a430b2bc.zip | |
Rollup merge of #111988 - BoxyUwU:make_tykind_debug_good, r=compiler-errors
Make `TyKind: Debug` have less verbose output Current `TyKind: Debug` impl is basically unusable for debugging, its too verbose even for verbose debugging :rofl: This PR replaces the debug logic for `TyKind` with a more manual debug impl instead of a hand expanded derived impl. This should help make #107084 more reasonable to land since the output of `Ty: Debug` will be better. This isn't a fully completed change to the `Debug` impl of `TyKind` as there's still logic from the derive macro for some variants. Some of the variants are also not consisten with the `-Zverbose` printing of `Ty`, ideally `-Zverbose` printing of `Ty` would also just defer to the debug impl instead of having lots of checks in pretty printing. I plan on fixing this in follow up PRs since it seems tricky to do in this one and its already a large PR :sweat_smile:
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
