Jacob Pratt
d498abe6d3
Rollup merge of #158982 - cjgillot:pretty-ascribe-user-ty, r=davidtwco
...
Pretty-print MIR user types too.
`ty::UserType` is currently dumped in MIR using debug-printing of types. Unfortunately, this shows the inner index of DefIds, which can change between compilations depending on `cfg` flags.
This PR proposes to wire `ty::UserType` into the normal pretty-printing infra, which will give more readable outputs. This also adds a test, as we did not have any mir-opt case featuring non-None `user_self_ty`.
Exact formatting to bikeshed.
2026-07-13 05:52:57 -04:00
..
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-05-29 20:11:32 +00:00
2026-06-04 08:10:27 +00:00
2026-07-04 23:28:08 +00:00
2026-05-31 16:02:15 +00:00
2026-07-06 06:46:33 +00:00
2026-07-06 06:46:33 +00:00
2026-07-06 06:46:33 +00:00
2026-07-06 06:46:33 +00:00
2026-05-31 16:02:15 +00:00
2026-06-04 08:10:27 +00:00
2026-05-31 16:02:15 +00:00
2026-06-04 08:10:27 +00:00
2026-05-31 16:02:15 +00:00
2026-06-04 08:10:27 +00:00
2026-05-31 16:02:15 +00:00
2026-06-04 08:10:27 +00:00
2026-05-31 12:49:00 +00:00
2026-06-04 08:10:27 +00:00
2026-05-31 15:36:17 +00:00
2026-06-04 08:10:27 +00:00
2026-05-31 16:02:15 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-05-31 16:02:15 +00:00
2026-06-04 08:10:27 +00:00
2026-07-06 06:46:33 +00:00
2026-07-06 06:46:33 +00:00
2026-07-06 06:46:33 +00:00
2026-06-04 08:10:27 +00:00
2026-05-31 16:02:15 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-05-31 11:36:44 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-06-04 08:10:27 +00:00
2026-05-29 20:11:32 +00:00
2026-05-29 20:11:32 +00:00
2026-05-29 20:11:32 +00:00
2026-05-29 20:11:32 +00:00
2026-05-29 20:11:32 +00:00
2026-05-29 20:11:32 +00:00
2026-05-29 20:11:32 +00:00
2026-05-29 20:11:32 +00:00
2026-07-08 22:43:48 +00:00
2026-07-08 22:43:48 +00:00