rust/compiler/rustc_pattern_analysis/src
bors 5bcd86d89b Auto merge of #119329 - Nadrieril:reveal-opaques-early, r=compiler-errors
Exhaustiveness: Statically enforce revealing of opaques

In https://github.com/rust-lang/rust/pull/116821 it was decided that exhaustiveness should operate on the hidden type of an opaque type when relevant. This PR makes sure we consistently reveal opaques within exhaustiveness. This makes it possible to remove `reveal_opaque_ty` from the `TypeCx` trait which was an unfortunate implementation detail.

r? `@compiler-errors`
2024-01-06 02:00:24 +00:00
..
constructor.rs Clean up more lifetimes 2023-12-26 02:06:39 +00:00
errors.rs s/RustcCtxt/RustcMatchCheckCtxt/ 2023-12-15 16:58:38 +01:00
lib.rs Statically enforce revealing of opaques 2024-01-01 23:10:03 +01:00
lints.rs Auto merge of #119329 - Nadrieril:reveal-opaques-early, r=compiler-errors 2024-01-06 02:00:24 +00:00
pat.rs Clean up more lifetimes 2023-12-26 02:06:39 +00:00
rustc.rs Statically enforce revealing of opaques 2024-01-01 23:10:03 +01:00
usefulness.rs Statically enforce revealing of opaques 2024-01-01 23:10:03 +01:00