rust/tests
Jacob Pratt 5cfdbd6c08
Rollup merge of #145218 - nilptr:nilptr/feat/lldb-enum-pretty-printer, r=Mark-Simulacrum
[Debuginfo] improve enum value formatting in LLDB for better readability

> TL;DR: When debugging with CodeLLDB, I noticed enum values were often hard to read because LLDB lists every possible variant, resulting in a verbose and cluttered view, even though only one variant is actually valid. Interestingly, raw enum types display nicely. After some investigation, I found that `&enum` values get classified as `Other`, so it falls back to `DefaultSyntheticProvider`, which causes this verbose output.

## What does this PR do?

This PR contains 2 commits:

1. change the enum value formatting from showing 2 separate fields (`value` for attached data and `$discr$` for the discriminator) to a concise `<readable variant name>: <attached data>` format
2. dereference pointer types in `classify_rust_type` so that it can return more accurate type for reference type

## Self-test proof

Before:

<img width="1706" height="799" alt="before" src="https://github.com/user-attachments/assets/b66c7e22-990a-4da5-9036-34e3f9f62367" />

After:

<img width="1541" height="678" alt="after" src="https://github.com/user-attachments/assets/36db32e2-f822-4883-8f17-cb8067e509f6" />
2025-08-22 22:00:49 -04:00
..
assembly-llvm Updated uitests for new parser 2025-08-22 08:58:45 +02:00
auxiliary Set NumRegisterParameters LLVM module flag to N when -Zregparm=N is 2025-08-13 17:37:30 +02:00
codegen-llvm Rollup merge of #145661 - folkertdev:s390x-codegen-test-cleanup, r=dianqk 2025-08-21 17:57:54 -04:00
codegen-units Auto merge of #142893 - Mark-Simulacrum:no-const-collect, r=oli-obk 2025-06-27 12:57:05 +00:00
coverage coverage: Remove all unstable support for MC/DC instrumentation 2025-08-06 22:38:52 +10:00
coverage-run-rustdoc
crashes fix: Reject async assoc fns of const traits/impls in ast_passes 2025-08-15 16:31:10 +09:00
debuginfo Rollup merge of #145218 - nilptr:nilptr/feat/lldb-enum-pretty-printer, r=Mark-Simulacrum 2025-08-22 22:00:49 -04:00
incremental Bless incremental tests. 2025-07-13 13:50:01 +00:00
mir-opt Rollup merge of #142185 - saethlin:refprop-moves, r=cjgillot 2025-08-22 22:00:46 -04:00
pretty Update autodiff tests for the new intrinsics impl 2025-08-14 18:33:43 +00:00
run-make Rollup merge of #145405 - durin42:test-cleanup-tmpdir, r=lqd 2025-08-19 14:18:24 +10:00
rustdoc rustdoc-search: search backend with partitioned suffix tree 2025-08-15 10:26:03 -07:00
rustdoc-gui rustdoc-search: search backend with partitioned suffix tree 2025-08-15 10:26:03 -07:00
rustdoc-js rustdoc-search: search backend with partitioned suffix tree 2025-08-15 10:26:03 -07:00
rustdoc-js-std rustdoc-search: search backend with partitioned suffix tree 2025-08-15 10:26:03 -07:00
rustdoc-json rustdoc-json: Move #[macro_export] from Other to it's own variant 2025-07-30 19:57:32 +00:00
rustdoc-ui Update uitests 2025-08-14 18:18:42 +02:00
ui Rollup merge of #144897 - fee1-dead-contrib:raw_lifetimes_printing, r=fmease 2025-08-22 22:00:47 -04:00
ui-fulldeps Auto merge of #145599 - jieyouxu:rollup-523cxhm, r=jieyouxu 2025-08-19 14:43:48 +00:00
COMPILER_TESTS.md