about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-12-27 07:48:29 +0000
committerbors <bors@rust-lang.org>2023-12-27 07:48:29 +0000
commit9da44323c9de0b8adef7d8d0a9f61bddd36d15a2 (patch)
treea75a193546a5c6fb4f04645750939828fe0abaf8 /compiler/rustc_pattern_analysis/src/errors.rs
parent625c2c401fae15dc3484cb25313ddff39b7e016c (diff)
parentfc0be3c921abc95e50e9fcb50598f2b6ee6fb4d4 (diff)
downloadrust-9da44323c9de0b8adef7d8d0a9f61bddd36d15a2.tar.gz
rust-9da44323c9de0b8adef7d8d0a9f61bddd36d15a2.zip
Auto merge of #119233 - Nadrieril:keep-whole-pat-around, r=compiler-errors
Exhaustiveness: keep the original `thir::Pat` around

This PR makes it possible for exhaustiveness to look at the original `thir::Pat`, which I'll need at least for the [`small_gaps`](https://github.com/rust-lang/rust/pull/118879) lint (without that we can't distinguish inclusive and exclusive ranges within exhaustiveness). This PR is almost entirely lifetime-wrangling.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions