summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-07-30 22:36:17 +1000
committerZalathar <Zalathar@users.noreply.github.com>2024-07-31 16:00:52 +1000
commita9ea85e04422345020be7dfb7e655c911d458e6c (patch)
tree7153114094337756103dc268174e591f80a6346f /compiler/rustc_pattern_analysis/src
parenta2b3256374014947a5a8e6ded86527fe44dd79ea (diff)
downloadrust-a9ea85e04422345020be7dfb7e655c911d458e6c.tar.gz
rust-a9ea85e04422345020be7dfb7e655c911d458e6c.zip
Revert "Make `thir::Pat` not implement `fmt::Display` directly"
This reverts commit ae0ec731a86ac6a2f6d8d08c4996bb8a438afdc2.

The original change in #128304 was intended to be a step towards being able to
print `thir::Pat` even after switching to `PatId`.

But because the only patterns that need to be printed are the synthetic ones
created by pattern analysis (for diagnostic purposes only), it makes more sense
to completely separate the printable patterns from the real THIR patterns.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions