about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-06 02:00:24 +0000
committerbors <bors@rust-lang.org>2024-01-06 02:00:24 +0000
commit5bcd86d89b2b7b6a490f7e075dd4eb346deb5f98 (patch)
treefce9ca2e0fb8594396d8da516db875e25671c648 /compiler/rustc_interface/src
parent595bc6f00369475047538fdae1ff8cea692ac385 (diff)
parentc35272058dfb9d93df35069c2ec55d2b7ce491b4 (diff)
downloadrust-5bcd86d89b2b7b6a490f7e075dd4eb346deb5f98.tar.gz
rust-5bcd86d89b2b7b6a490f7e075dd4eb346deb5f98.zip
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`
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions