about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/lints.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-20 04:57:15 +0000
committerbors <bors@rust-lang.org>2024-02-20 04:57:15 +0000
commitbcea3cb748040aa507f44abbd66c50725f35ea4f (patch)
treeb7dc086373df167e01b6aa88ef7d7df5b71981fd /compiler/rustc_pattern_analysis/src/lints.rs
parent0b9f6ad99482c9fc35baa5f40cebf21be4fd98b3 (diff)
parent778c7e1db4fbafa62eb9fdd945544eecc437986f (diff)
downloadrust-bcea3cb748040aa507f44abbd66c50725f35ea4f.tar.gz
rust-bcea3cb748040aa507f44abbd66c50725f35ea4f.zip
Auto merge of #120692 - Nadrieril:move-column-analysis-to-placeinfo, r=compiler-errors
pattern_analysis: Move constructor selection logic to `PlaceInfo`

This is a small refactor PR. There was a dense bit of constructor-related logic in `compute_exhaustiveness_and_usefulness`. I'm moving it out into a `PlaceInfo` method to make it easier to follow both separately. I also have plans that will complicate it further so it's good that it's somewhat encapsulated.

r? `@compiler-errors`
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/lints.rs')
0 files changed, 0 insertions, 0 deletions