about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/errors.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-07-28 14:02:41 +1000
committerZalathar <Zalathar@users.noreply.github.com>2024-07-29 14:56:50 +1000
commitae0ec731a86ac6a2f6d8d08c4996bb8a438afdc2 (patch)
tree1d12177036eba1918f253ab66bb89facddcf422c /compiler/rustc_pattern_analysis/src/errors.rs
parentdb05b0fd343e8204460b0e1f3e261cc4ae940e0a (diff)
downloadrust-ae0ec731a86ac6a2f6d8d08c4996bb8a438afdc2.tar.gz
rust-ae0ec731a86ac6a2f6d8d08c4996bb8a438afdc2.zip
Make `thir::Pat` not implement `fmt::Display` directly
This gives a clearer view of the (diagnostic) code that expects to be able to
print THIR patterns, and makes it possible to experiment with requiring some
kind of context (for ID lookup) when printing patterns.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions